ReplaceLink.php 624 B

12345678910111213141516171819202122232425262728
  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_replace")
  16. * @author Jordi Boggiano <j.boggiano@seld.be>
  17. */
  18. class ReplaceLink extends PackageLink
  19. {
  20. /**
  21. * @ORM\ManyToOne(targetEntity="Packagist\WebBundle\Entity\Version", inversedBy="replace")
  22. */
  23. protected $version;
  24. }