rector/stubs/Doctrine/ORM/Mapping/ManyToOne.php
2019-09-10 15:14:36 +02:00

39 lines
563 B
PHP

<?php
namespace Doctrine\ORM\Mapping;
if (class_exists('Doctrine\ORM\Mapping\ManyToOne')) {
return;
}
/**
* @Annotation
* @Target("PROPERTY")
*/
class ManyToOne implements Annotation
{
/**
* @var string
*/
public $targetEntity;
/**
* @var array<string>
*/
public $cascade;
/**
* The fetching strategy to use for the association.
*
* @var string
*
* @Enum({"LAZY", "EAGER", "EXTRA_LAZY"})
*/
public $fetch = 'LAZY';
/**
* @var string
*/
public $inversedBy;
}