public function find($id, $attributes = ['*'])
    {
        return $this->executeCallback(get_called_class(), __FUNCTION__, func_get_args(), function () use ($id, $attributes) {
            return $this->prepareQuery($this->createModel())->find($id, $attributes);
        });
    }
public function find($id, $attributes = ['*'])
    {
        return $this->executeCallback(get_called_class(), __FUNCTION__, func_get_args(), function () use ($id, $attributes) {
            return $this->prepareQuery($this->createModel())->find($id, $attributes);
        });
    }
public function find ( $ id , $ attributes = [ '*' ] ) { return $ this -> executeCallback ( get_called_class ( ) , __FUNCTION__ , func_get_args ( ) , function ( ) use ( $ id , $ attributes ) { return $ this -> prepareQuery ( $ this -> createModel ( ) ) -> find ( $ id , $ attributes ) ; } ) ; }
Find an entity by it's primary key.

@param int   $id
@param array $attributes

@return \Illuminate\Database\Eloquent\Model
Find an entity by it s primary key .