PHP Class App\Fractal\CustomSerializer

Inheritance: extends League\Fractal\Serializer\ArraySerializer
Show file Open project: redound/phalcon-rest-boilerplate

Public Methods

Method Description
collection ( $resourceKey, array $data )
item ( $resourceKey, array $data )

Method Details

collection() public method

public collection ( $resourceKey, array $data )
$data array

item() public method

public item ( $resourceKey, array $data )
$data array