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