src/Services/Finder.php
public function find($key, $columns = ['*'])
    {
        $this->model = $this->model->newQueryWithoutScopes()->findOrFail($key, $columns);

        return $this->model;
    }
public function find($key, $columns = ['*'])
    {
        $this->model = $this->model->newQueryWithoutScopes()->findOrFail($key, $columns);

        return $this->model;
    }
public function find ( $ key , $ columns = [ '*' ] ) { $ this -> model = $ this -> model -> newQueryWithoutScopes ( ) -> findOrFail ( $ key , $ columns ) ; return $ this -> model ; }
Find a record by id or fail.

@param       $key
@param array $columns

@return mixed
Find a record by id or fail .