for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace Bukashk0zzz\FilterBundle\Tests\Fixtures;
use Bukashk0zzz\FilterBundle\Annotation\FilterAnnotation as Filter;
use Symfony\Component\Validator\Constraints as Assert;
/**
* User Entity.
*/
class User
{
* @Assert\Length(
* min=0,
* max=1
* )
*
* @Filter("StripTags", options={"allowTags": "br"})
* @Filter("StringTrim")
* @Filter("StripNewlines")
* @var string
protected $name;
* @Filter("StripTags")
protected $about;
public function getName(): ?string
return $this->name;
}
public function setName(string $name): self
$this->name = $name;
return $this;
public function getAbout(): ?string
return $this->about;
public function setAbout(string $about): self
$this->about = $about;