* Nils Adermann * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Packagist\WebBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="link_require", indexes={ * @ORM\Index(name="package_name_idx",columns={"version_id", "packageName"}) * }) * @author Jordi Boggiano */ class RequireLink extends PackageLink { /** * @ORM\ManyToOne(targetEntity="Packagist\WebBundle\Entity\Version", inversedBy="require") */ protected $version; }