for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Happyr\SerializerBundle\Annotation;
/**
* @Annotation
* @Target({"PROPERTY", "CLASS"})
*
* @author Tobias Nyholm <[email protected]>
*/
final class ReadOnly implements SerializerAnnotation
{
* @var bool
public $value = true;
public function getName()
return 'read_only';
}
public function getValue()
return $this->value;