public function getExtensions(ExtensionLevel $level)
    {
        if (!isset($this->extensions[(string) $level])) {
            return null;
        }

        return $this->extensions[(string) $level];
    }
public function getExtensions(ExtensionLevel $level)
    {
        if (!isset($this->extensions[(string) $level])) {
            return null;
        }

        return $this->extensions[(string) $level];
    }
public function getExtensions ( ExtensionLevel $ level ) { if ( ! isset ( $ this -> extensions [ ( string ) $ level ] ) ) { return null ; } return $ this -> extensions [ ( string ) $ level ] ; }
Returns the extensions for the given level.

@param ExtensionLevel $level the level
@return array[]|null A list of <code>CmisExtensionElementInterface</code> at the requested level or
<code>null</code> if there are no extensions for the requested level
@see CmisExtensionElementInterface
Returns the extensions for the given level .