php/WP_CLI/Dispatcher/CommandFactory.php
private static function create_namespace( $parent, $name, $callable ) {
		$reflection  = new ReflectionClass( $callable );
		$doc_comment = self::get_doc_comment( $reflection );
		if ( ! $doc_comment ) {
			\WP_CLI::debug( null === $doc_comment ? "Failed to get doc comment for {$name}." : "No doc comment for {$name}.", 'commandfactory' );
		}
		$docparser = new \WP_CLI\DocParser( $doc_comment );

		return new CommandNamespace( $parent, $name, $docparser );
	}
private static function create_namespace( $parent, $name, $callable ) {
		$reflection  = new ReflectionClass( $callable );
		$doc_comment = self::get_doc_comment( $reflection );
		if ( ! $doc_comment ) {
			\WP_CLI::debug( null === $doc_comment ? "Failed to get doc comment for {$name}." : "No doc comment for {$name}.", 'commandfactory' );
		}
		$docparser = new \WP_CLI\DocParser( $doc_comment );

		return new CommandNamespace( $parent, $name, $docparser );
	}
private static function create_namespace ( $ parent , $ name , $ callable ) { $ reflection = new ReflectionClass ( $ callable ) ; $ doc_comment = self :: get_doc_comment ( $ reflection ) ; if ( ! $ doc_comment ) { \ WP_CLI :: debug ( null === $ doc_comment ? "Failed to get doc comment for {$name}." : "No doc comment for {$name}." , 'commandfactory' ) ; } $ docparser = new \ WP_CLI \ DocParser ( $ doc_comment ) ; return new CommandNamespace ( $ parent , $ name , $ docparser ) ; }
Create a new command namespace instance.

@param mixed $parent The new namespace's parent Root or Composite command.
@param string $name Represents how the command should be invoked
@param mixed $callable
Create a new command namespace instance .