Storm\Core\Object\PropertyData::__construct PHP Method

__construct() public method

public __construct ( array $Properties, array $PropertyData = [] )
$Properties array
$PropertyData array
    public function __construct(array $Properties, array $PropertyData = [])
    {
        $IndexedProperties = [];
        foreach ($Properties as $Property) {
            $IndexedProperties[$Property->GetIdentifier()] = $Property;
        }
        $this->Properties = $IndexedProperties;
        $this->PropertyData = array_intersect_key($PropertyData, $this->Properties);
    }