classes/Layout/Breadcrumbs.php
public function find($controller, $id)
    {
        $model = $controller->model();
        if ($controller->withTrashed()) {
            return $model::withTrashed()->find($id);
        } else {
            return $model::find($id);
        }
    }
public function find($controller, $id)
    {
        $model = $controller->model();
        if ($controller->withTrashed()) {
            return $model::withTrashed()->find($id);
        } else {
            return $model::find($id);
        }
    }
public function find ( $ controller , $ id ) { $ model = $ controller -> model ( ) ; if ( $ controller -> withTrashed ( ) ) { return $ model :: withTrashed ( ) -> find ( $ id ) ; } else { return $ model :: find ( $ id ) ; } }
Lookup a model instance given the controller and id, including any
trashed models in case the controller should show trashed models

@param  Controller\Base $controller
@param  integer $id
@return Model
Lookup a model instance given the controller and id including any trashed models in case the controller should show trashed models