Storm\Drivers\Base\Object\Properties\EntityProperty::__construct PHP Method

__construct() public method

public __construct ( Accessor $Accessor, $EntityType, Storm\Drivers\Base\Object\Properties\IRelationshipType $RelationshipType, $IsOptional = false, Storm\Core\Object\IProperty $BackReferenceProperty = null, Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator $ProxyGenerator = null )
$Accessor Storm\Drivers\Base\Object\Properties\Accessors\Accessor
$RelationshipType Storm\Drivers\Base\Object\Properties\IRelationshipType
$BackReferenceProperty Storm\Core\Object\IProperty
$ProxyGenerator Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator
    public function __construct(Accessors\Accessor $Accessor, $EntityType, IRelationshipType $RelationshipType, $IsOptional = false, Object\IProperty $BackReferenceProperty = null, Proxies\IProxyGenerator $ProxyGenerator = null)
    {
        parent::__construct($Accessor, $EntityType, $RelationshipType->IsIdentifying(), $BackReferenceProperty, $ProxyGenerator);
        $this->IsOptional = $IsOptional;
        $this->RelationshipType = $RelationshipType;
        $this->ProxyGenerator = $ProxyGenerator;
    }