lib/Http/Controllers/Base/ObjectController.php
protected function getFractalItem($model)
    {
        $transformer = $this->getTransformer();
        $item = new FractalItem($model, $transformer, $this->getResourceKey());
        $item->setMeta($transformer->getMeta($model));
        return $item;
    }
protected function getFractalItem($model)
    {
        $transformer = $this->getTransformer();
        $item = new FractalItem($model, $transformer, $this->getResourceKey());
        $item->setMeta($transformer->getMeta($model));
        return $item;
    }
protected function getFractalItem ( $ model ) { $ transformer = $ this -> getTransformer ( ) ; $ item = new FractalItem ( $ model , $ transformer , $ this -> getResourceKey ( ) ) ; $ item -> setMeta ( $ transformer -> getMeta ( $ model ) ) ; return $ item ; }
Get the fractal item object

@param   Model $model
@return  FractalItem
Get the fractal item object