src/PluginLicenses.php
public function get(array $options = [])
    {
        $pagination = '';

        if (isset($options['page']) && is_int($options['page'])) {
            $pagination = '?page='.$options['page'];
        }

        if (isset($options['key'])) {
            return $this->client->get('plugin-licenses/'.$options['key'].$pagination);
        }

        return $this->client->get('plugin-licenses'.$pagination);
    }
public function get(array $options = [])
    {
        $pagination = '';

        if (isset($options['page']) && is_int($options['page'])) {
            $pagination = '?page='.$options['page'];
        }

        if (isset($options['key'])) {
            return $this->client->get('plugin-licenses/'.$options['key'].$pagination);
        }

        return $this->client->get('plugin-licenses'.$pagination);
    }
public function get ( array $ options = [ ] ) { $ pagination = '' ; if ( isset ( $ options [ 'page' ] ) && is_int ( $ options [ 'page' ] ) ) { $ pagination = '?page=' . $ options [ 'page' ] ; } if ( isset ( $ options [ 'key' ] ) ) { return $ this -> client -> get ( 'plugin-licenses/' . $ options [ 'key' ] . $ pagination ) ; } return $ this -> client -> get ( 'plugin-licenses' . $ pagination ) ; }
Gets one or more licenses for the given Craft ID account

@param array $options

@return mixed|\Psr\Http\Message\ResponseInterface
@throws \GuzzleHttp\Exception\GuzzleException
Gets one or more licenses for the given Craft ID account