for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Model;
use JMS\Serializer\Annotation\Accessor;
use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\Expose;
use JMS\Serializer\Annotation\Type;
/**
* Class PerformancesResponse
* @package App\Model
* @ExclusionPolicy("all")
*/
class PerformancesResponse extends AbstractPaginatedModel
{
* @var Array[]
* @Type("array")
* @Expose
protected $performances;
* @var int
*
* @Type("integer")
* @Accessor(getter="getCount")
protected $count;
* @return mixed
public function getPerformances()
return $this->performances;
}
* @param mixed $performances
* @return $this
public function setPerformances($performances)
$this->performances = $performances;
return $this;
* @return int
public function getCount()
return count($this->getPerformances());