/** * @param IQueryable $proxy * @param OrmProperty $container * @param OrmProperty $encapsulant */ function __construct(IQueryable $proxy, OrmProperty $container, OrmProperty $encapsulant) { $this->proxy = $proxy; $this->container = $container; $this->encapsulant = $encapsulant; parent::__construct($container->getType()->getContainer(), $encapsulant->getType()->getContainer()); }
/** * @param IQueryable $container * @param IQueryable $encapsulant * @param OrmProperty $encapsulantProperty */ function __construct(IQueryable $container, IQueryable $encapsulant, OrmProperty $encapsulantProperty) { $this->encapsulantProperty = $encapsulantProperty; parent::__construct($container, $encapsulant); }