src/Api/Service.php
public function getPaginatorConfig($name)
    {
        static $defaults = [
            'input_token'  => null,
            'output_token' => null,
            'limit_key'    => null,
            'result_key'   => null,
            'more_results' => null,
        ];

        if ($this->hasPaginator($name)) {
            return $this->paginators[$name] + $defaults;
        }

        throw new \UnexpectedValueException("There is no {$name} "
            . "paginator defined for the {$this->serviceName} service.");
    }
public function getPaginatorConfig($name)
    {
        static $defaults = [
            'input_token'  => null,
            'output_token' => null,
            'limit_key'    => null,
            'result_key'   => null,
            'more_results' => null,
        ];

        if ($this->hasPaginator($name)) {
            return $this->paginators[$name] + $defaults;
        }

        throw new \UnexpectedValueException("There is no {$name} "
            . "paginator defined for the {$this->serviceName} service.");
    }
public function getPaginatorConfig ( $ name ) { static $ defaults = [ 'input_token' => null , 'output_token' => null , 'limit_key' => null , 'result_key' => null , 'more_results' => null , ] ; if ( $ this -> hasPaginator ( $ name ) ) { return $ this -> paginators [ $ name ] + $ defaults ; } throw new \ UnexpectedValueException ( "There is no {$name} " . "paginator defined for the {$this->serviceName} service." ) ; }
Retrieve a paginator by name.

@param string $name Paginator to retrieve by name. This argument is
typically the operation name.
@return array
@throws \UnexpectedValueException if the paginator does not exist.
@unstable The configuration format of paginators may change in the future
Retrieve a paginator by name .