public function setExtensions(array $extensions)
    {
        foreach ($extensions as $extension) {
            $this->checkType(CmisExtensionElementInterface::class, $extension);
        }

        $this->extensions = $extensions;
    }
public function setExtensions(array $extensions)
    {
        foreach ($extensions as $extension) {
            $this->checkType(CmisExtensionElementInterface::class, $extension);
        }

        $this->extensions = $extensions;
    }
public function setExtensions ( array $ extensions ) { foreach ( $ extensions as $ extension ) { $ this -> checkType ( CmisExtensionElementInterface :: class , $ extension ) ; } $ this -> extensions = $ extensions ; }
Sets the list of top-level extension elements.

@param CmisExtensionElementInterface[] $extensions
Sets the list of top - level extension elements .