Reference.php 647B

1234567891011121314151617181920212223242526
  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. * @package Gedmo.Mapping.Annotation
  10. * @subpackage Language
  11. * @link http://www.gediminasm.org
  12. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  13. * @Annotation
  14. */
  15. abstract class Reference extends Annotation
  16. {
  17. public $type;
  18. public $class;
  19. public $identifier;
  20. public $mappedBy;
  21. public $inversedBy;
  22. }