public function load(array $definitions)
    {
        $this->data = $definitions['data'] ?? [];
        $this->parentAliases = $definitions['parent_aliases'] ?? [];
        foreach ($this->data as $value) {
            $this->validateDefinitions($value);
        }
    }
public function load(array $definitions)
    {
        $this->data = $definitions['data'] ?? [];
        $this->parentAliases = $definitions['parent_aliases'] ?? [];
        foreach ($this->data as $value) {
            $this->validateDefinitions($value);
        }
    }
public function load ( array $ definitions ) { $ this -> data = $ definitions [ 'data' ] ?? [ ] ; $ this -> parentAliases = $ definitions [ 'parent_aliases' ] ?? [ ] ; foreach ( $ this -> data as $ value ) { $ this -> validateDefinitions ( $ value ) ; } }
Load structure data.
@param array $definitions
Load structure data .