EntityParent.php 596 B

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