admin/jsonadm/src/Admin/JsonAdm.php
public static function create( \Aimeos\MShop\Context\Item\Iface $context,
		\Aimeos\Bootstrap $aimeos, $path, $name = null )
	{
		$path = trim( $path, '/' );

		if( empty( $path ) ) {
			return self::createRoot( $context, $aimeos, $path, $name );
		} else {
			return self::createNew( $context, $aimeos, $path, $name );
		}
	}
public static function create( \Aimeos\MShop\Context\Item\Iface $context,
		\Aimeos\Bootstrap $aimeos, $path, $name = null )
	{
		$path = trim( $path, '/' );

		if( empty( $path ) ) {
			return self::createRoot( $context, $aimeos, $path, $name );
		} else {
			return self::createNew( $context, $aimeos, $path, $name );
		}
	}
public static function create ( \ Aimeos \ MShop \ Context \ Item \ Iface $ context , \ Aimeos \ Bootstrap $ aimeos , $ path , $ name = null ) { $ path = trim ( $ path , '/' ) ; if ( empty ( $ path ) ) { return self :: createRoot ( $ context , $ aimeos , $ path , $ name ) ; } else { return self :: createNew ( $ context , $ aimeos , $ path , $ name ) ; } }
Creates the required client specified by the given path of client names.

Clients are created by providing only the domain name, e.g. "product"
for the \Aimeos\Admin\JsonAdm\Product\Standard or a path of names to
retrieve a specific sub-client, e.g. "product/type" for the
\Aimeos\Admin\JsonAdm\Product\Type\Standard client.

@param \Aimeos\MShop\Context\Item\Iface $context Context object required by clients
@param \Aimeos\Bootstrap $aimeos Aimeos Bootstrap object
@param string $path Name of the client separated by slashes, e.g "product/property"
@param string|null $name Name of the client implementation ("Standard" if null)
@return \Aimeos\Admin\JsonAdm\Iface JSON admin instance
@throws \Aimeos\Admin\JsonAdm\Exception If the given path is invalid
Creates the required client specified by the given path of client names .