Phalcon\Test\Unit\Mvc\RouterTest::methodProvider PHP Method

methodProvider() protected method

protected methodProvider ( )
    protected function methodProvider()
    {
        return ['NULL' => ['method' => null, 'uri' => '/documentation/index/hello', 'controller' => 'documentation', 'action' => 'index', 'params' => ['hello']], 'POST' => ['method' => 'POST', 'uri' => '/docs/index', 'controller' => 'documentation3', 'action' => 'index', 'params' => []], 'GET' => ['method' => 'GET', 'uri' => '/docs/index', 'controller' => 'documentation4', 'action' => 'index', 'params' => []], 'PUT' => ['method' => 'PUT', 'uri' => '/docs/index', 'controller' => 'documentation5', 'action' => 'index', 'params' => []], 'DELETE' => ['method' => 'DELETE', 'uri' => '/docs/index', 'controller' => 'documentation6', 'action' => 'index', 'params' => []], 'OPTIONS' => ['method' => 'OPTIONS', 'uri' => '/docs/index', 'controller' => 'documentation7', 'action' => 'index', 'params' => []], 'HEAD' => ['method' => 'HEAD', 'uri' => '/docs/index', 'controller' => 'documentation8', 'action' => 'index', 'params' => []], 'PURGE' => ['method' => 'PURGE', 'uri' => '/docs/index', 'controller' => 'documentation9', 'action' => 'index', 'params' => []], 'TRACE' => ['method' => 'TRACE', 'uri' => '/docs/index', 'controller' => 'documentation10', 'action' => 'index', 'params' => []], 'CONNECT' => ['method' => 'CONNECT', 'uri' => '/docs/index', 'controller' => 'documentation11', 'action' => 'index', 'params' => []]];
    }