original_string: public function setExtensions(array $extensions)
      {
          foreach ($extensions as $extension) {
              $this->checkType(CmisExtensionElementInterface::class, $extension);
          }
  
          $this->extensions = $extensions;
      }
code: public function setExtensions(array $extensions)
      {
          foreach ($extensions as $extension) {
              $this->checkType(CmisExtensionElementInterface::class, $extension);
          }
  
          $this->extensions = $extensions;
      }
code_tokens: public function setExtensions ( array $ extensions ) { foreach ( $ extensions as $ extension ) { $ this -> checkType ( CmisExtensionElementInterface :: class , $ extension ) ; } $ this -> extensions = $ extensions ; }
docstring: Sets the list of top-level extension elements.
  
  @param CmisExtensionElementInterface[] $extensions
docstring_tokens: Sets the list of top - level extension elements .