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