示例#1
0
 public function __construct($attribute, EntityAbstract $entity, $collectionName)
 {
     $this->intermediateCollection = $collectionName;
     parent::__construct($attribute, $entity);
 }
示例#2
0
 /**
  * @param string         $attribute
  * @param EntityAbstract $entity
  * @param string         $relatedAttribute
  */
 public function __construct($attribute, EntityAbstract $entity, $relatedAttribute)
 {
     $this->relatedAttribute = $relatedAttribute;
     parent::__construct($attribute, $entity);
 }