src/Contracts/Driver.php
/**
     * There are a number of mutable name protocols that can link among 
     * themselves and into IPNS. For example IPNS references can (currently) 
     * point at an IPFS object, and DNS links can point at other DNS links, 
     * IPNS entries, or IPFS objects. This command accepts any of these 
     * identifiers and resolves them to the referenced item.
     * @return object Guzzle Response.
     */
There are a number of mutable name protocols that can link among
themselves and into IPNS. For example IPNS references can (currently)
point at an IPFS object, and DNS links can point at other DNS links,
IPNS entries, or IPFS objects. This command accepts any of these
identifiers and resolves them to the referenced item.
@return object Guzzle Response.
There are a number of mutable name protocols that can link among themselves and into IPNS . For example IPNS references can ( currently ) point at an IPFS object and DNS links can point at other DNS links IPNS entries or IPFS objects . This command accepts any of these identifiers and resolves them to the referenced item . @return object Guzzle Response .
public static function resolve($arg)
    {
        $api = [
        'path'    => 'http://localhost:5001/api/v0/resolve',
        'method'  => 'GET',
        'query'   => ['arg'=>$query],
        'file'    => null
        ];
        $cmd = null;
        $response = (new self())->handleCall($api, $cmd);
        return json_decode($response);
    }
public static function resolve ( $ arg ) { $ api = [ 'path' => 'http://localhost:5001/api/v0/resolve' , 'method' => 'GET' , 'query' => [ 'arg' => $ query ] , 'file' => null ] ; $ cmd = null ; $ response = ( new self ( ) ) -> handleCall ( $ api , $ cmd ) ; return json_decode ( $ response ) ; }
There are a number of mutable name protocols that can link among
 themselves and into IPNS.
There are a number of mutable name protocols that can link among themselves and into IPNS .