mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Solved bugs to allow unit tests to run
This commit is contained in:
@@ -2,30 +2,13 @@
|
||||
|
||||
namespace App\Entity\Source\Data\Name;
|
||||
|
||||
use App\Entity\Attribut\NameAttribut;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
* @ORM\Table(name="source_data_nickname")
|
||||
* @ORM\Table(name="source_data_name_nickname")
|
||||
* @ORM\Entity()
|
||||
*/
|
||||
final class NicknameSource extends AbstractNameSource implements NicknameSourceInterface
|
||||
{
|
||||
use NameAttribut;
|
||||
|
||||
/**
|
||||
* @todo Implement an extra assert Layer!
|
||||
* @ORM\Column(type="string",length=255)
|
||||
* @Assert\NotBlank()
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user