protected function initialize(array $options)
    {
        foreach ($options as $option) {
            if (! $option instanceof Option) {
                throw InvalidOption::fromOption($option);
            }

            $option = $this->identityMap->put($option, $this);

            $this->schema[$option->getKey()] = $option;
        }
    }
protected function initialize(array $options)
    {
        foreach ($options as $option) {
            if (! $option instanceof Option) {
                throw InvalidOption::fromOption($option);
            }

            $option = $this->identityMap->put($option, $this);

            $this->schema[$option->getKey()] = $option;
        }
    }
protected function initialize ( array $ options ) { foreach ( $ options as $ option ) { if ( ! $ option instanceof Option ) { throw InvalidOption :: fromOption ( $ option ) ; } $ option = $ this -> identityMap -> put ( $ option , $ this ) ; $ this -> schema [ $ option -> getKey ( ) ] = $ option ; } }
Initialize the internal state of the repository.

@since 0.1.0

@param array $options
Initialize the internal state of the repository .