Reference.php 551 B

12345678910111213141516171819202122
  1. <?php
  2. namespace Gedmo\Mapping\Annotation;
  3. use Doctrine\Common\Annotations\Annotation;
  4. /**
  5. * Reference annotation for ORM -> ODM references extension
  6. * to be user like @ReferenceMany(type="entity", class="MyEntity", identifier="entity_id")
  7. *
  8. * @author Bulat Shakirzyanov <mallluhuct@gmail.com>
  9. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  10. * @Annotation
  11. */
  12. abstract class Reference extends Annotation
  13. {
  14. public $type;
  15. public $class;
  16. public $identifier;
  17. public $mappedBy;
  18. public $inversedBy;
  19. }