original_string: public function extractNamespace($name, $limit = null)
      {
          $parts = explode(':', $name);
          array_pop($parts);
  
          return implode(':', null === $limit ? $parts : \array_slice($parts, 0, $limit));
      }
code: public function extractNamespace($name, $limit = null)
      {
          $parts = explode(':', $name);
          array_pop($parts);
  
          return implode(':', null === $limit ? $parts : \array_slice($parts, 0, $limit));
      }
code_tokens: public function extractNamespace ( $ name , $ limit = null ) { $ parts = explode ( ':' , $ name ) ; array_pop ( $ parts ) ; return implode ( ':' , null === $ limit ? $ parts : \ array_slice ( $ parts , 0 , $ limit ) ) ; }
docstring: Returns the namespace part of the command name.
  
  This method is not part of public API and should not be used directly.
  
  @param string $name  The full name of the command
  @param string $limit The maximum number of parts of the namespace
  
  @return string The namespace of the command
docstring_tokens: Returns the namespace part of the command name .