Version 1
[yaffs-website] / vendor / symfony / validator / Tests / Fixtures / EntityParent.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Validator\Tests\Fixtures;
13
14 use Symfony\Component\Validator\Constraints\NotNull;
15
16 class EntityParent implements EntityInterfaceA
17 {
18     protected $firstName;
19     private $internal;
20     private $data = 'Data';
21
22     /**
23      * @NotNull
24      */
25     protected $other;
26
27     public function getData()
28     {
29         return 'Data';
30     }
31 }