DevRequireLink.php 826 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of Packagist.
  4. *
  5. * (c) Jordi Boggiano <j.boggiano@seld.be>
  6. * Nils Adermann <naderman@naderman.de>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. namespace Packagist\WebBundle\Entity;
  12. use Doctrine\ORM\Mapping as ORM;
  13. /**
  14. * @ORM\Entity
  15. * @ORM\Table(name="link_require_dev", indexes={
  16. * @ORM\Index(name="link_require_dev_package_name_idx",columns={"version_id", "packageName"}),
  17. * @ORM\Index(name="link_require_dev_name_idx",columns={"packageName"})
  18. * })
  19. * @author Jordi Boggiano <j.boggiano@seld.be>
  20. */
  21. class DevRequireLink extends PackageLink
  22. {
  23. /**
  24. * @ORM\ManyToOne(targetEntity="Packagist\WebBundle\Entity\Version", inversedBy="devRequire")
  25. */
  26. protected $version;
  27. }