<?php /** * Which method in which MVC set will be executed * for each defined action in this array. */ $actions = array('index' => \Ragnaroq\App\Runner::mvcAction('Home', 'index'), 'welcome' => \Ragnaroq\App\Runner::mvcAction('Example', 'greet'), 'authorize' => \Ragnaroq\App\Runner::mvcAction('OAuth2', 'authorizeCallback')); /** * Which of the previously defined actions will * be executed in each route. */ $routes = array('GET' => array('/' => $actions['index'], '/example' => $actions['welcome'], '/authorize_callback' => $actions['authorize']), 'POST' => array(), 'DELETE' => array(), 'PUT' => array(), 'OPTIONS' => array()); return $routes;