Storm\Core\Object\PropertyData::__construct PHP Метод

__construct() публичный Метод

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);
    }