public function model(Model $model, PresentableInterface $presenter)
    {
        $object = clone $presenter;

        $object->set($model);

        return $object;
    }
public function model(Model $model, PresentableInterface $presenter)
    {
        $object = clone $presenter;

        $object->set($model);

        return $object;
    }
public function model ( Model $ model , PresentableInterface $ presenter ) { $ object = clone $ presenter ; $ object -> set ( $ model ) ; return $ object ; }
Return an instance of a Model wrapped in a presenter object

@param  Model $model
@param  PresentableInterface $presenter

@return Model
Return an instance of a Model wrapped in a presenter object