public function find($find, $column = 'id', array $relations = [], array $columns = ['*'])
    {
        $this->model = $this->where($column, $find);
        $this->model = $this->relation->apply($this->model, $this, $relations);

        return $this->model->firstOrFail($columns);
    }
public function find($find, $column = 'id', array $relations = [], array $columns = ['*'])
    {
        $this->model = $this->where($column, $find);
        $this->model = $this->relation->apply($this->model, $this, $relations);

        return $this->model->firstOrFail($columns);
    }
public function find ( $ find , $ column = 'id' , array $ relations = [ ] , array $ columns = [ '*' ] ) { $ this -> model = $ this -> where ( $ column , $ find ) ; $ this -> model = $ this -> relation -> apply ( $ this -> model , $ this , $ relations ) ; return $ this -> model -> firstOrFail ( $ columns ) ; }
Find single record with secure relation keys only
Eager relations can be taken from request input

@param $find
@param string $column
@param array $relations
@param array $columns
@return Model
Find single record with secure relation keys only Eager relations can be taken from request input