framework/RedKiteCms/Content/BlockManager/BlockManagerAdd.php
protected function resolveAddOptions(array $options)
    {
        if ($this->optionsResolved) {
            // @codeCoverageIgnoreStart
            return;
            // @codeCoverageIgnoreEnd
        }

        $this->optionsResolver->clear();
        $this->optionsResolver->setRequired(
            array(
                'page',
                'language',
                'country',
                'slot',
                'blockname',
                'type',
                'position',
                'direction',
            )
        );

        $this->optionsResolver->resolve($options);
        $this->optionsResolved = true;
    }
protected function resolveAddOptions(array $options)
    {
        if ($this->optionsResolved) {
            // @codeCoverageIgnoreStart
            return;
            // @codeCoverageIgnoreEnd
        }

        $this->optionsResolver->clear();
        $this->optionsResolver->setRequired(
            array(
                'page',
                'language',
                'country',
                'slot',
                'blockname',
                'type',
                'position',
                'direction',
            )
        );

        $this->optionsResolver->resolve($options);
        $this->optionsResolved = true;
    }
protected function resolveAddOptions ( array $ options ) { if ( $ this -> optionsResolved ) { // @codeCoverageIgnoreStart return ; // @codeCoverageIgnoreEnd } $ this -> optionsResolver -> clear ( ) ; $ this -> optionsResolver -> setRequired ( array ( 'page' , 'language' , 'country' , 'slot' , 'blockname' , 'type' , 'position' , 'direction' , ) ) ; $ this -> optionsResolver -> resolve ( $ options ) ; $ this -> optionsResolved = true ; }
Defines the options required by the add method

@param array $options
Defines the options required by the add method