public function getBlockDefinitionByIdentifier($blockIdentifier)
    {
        if (!isset($this->blockDefinition[$blockIdentifier])) {
            throw new OutOfBoundsException("Could not find an ezpage block definition for given identifier '$blockIdentifier'");
        }

        return $this->blockDefinition[$blockIdentifier];
    }
public function getBlockDefinitionByIdentifier($blockIdentifier)
    {
        if (!isset($this->blockDefinition[$blockIdentifier])) {
            throw new OutOfBoundsException("Could not find an ezpage block definition for given identifier '$blockIdentifier'");
        }

        return $this->blockDefinition[$blockIdentifier];
    }
public function getBlockDefinitionByIdentifier ( $ blockIdentifier ) { if ( ! isset ( $ this -> blockDefinition [ $ blockIdentifier ] ) ) { throw new OutOfBoundsException ( "Could not find an ezpage block definition for given identifier '$blockIdentifier'" ) ; } return $ this -> blockDefinition [ $ blockIdentifier ] ; }
Returns a block definition for a given block identifier.

@param string $blockIdentifier

@return array

@throws \OutOfBoundsException If $blockIdentifier is invalid.
Returns a block definition for a given block identifier .