for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Happyr\SerializerBundle\Tests\Fixtures\Composition;
use Happyr\SerializerBundle\Annotation as Serializer;
class Car
{
/**
* @Serializer\SerializedName("super_model")
*/
private $model;
private $carSize;
private $color;
public function __construct($withValues = false)
if ($withValues) {
$this->model = 'val_model';
$this->carSize = 'val_size';
$this->color = 'val_color';
}