PHP Class App\Transformers\PhotoTransformer

Inheritance: extends PhalconRest\Transformers\ModelTransformer
Show file Open project: redound/phalcon-rest-boilerplate

Protected Properties

Property Type Description
$availableIncludes
$modelClass Transforms are automatically handled based on your model when you extend ModelTransformer and assign the modelClass property

Public Methods

Method Description
includeAlbum ( $photo )

Method Details

includeAlbum() public method

public includeAlbum ( $photo )

Property Details

$availableIncludes protected property

protected $availableIncludes

$modelClass protected property

Transforms are automatically handled based on your model when you extend ModelTransformer and assign the modelClass property
protected $modelClass