oorrwullie/yii2-getallroutes

Returns an array of all possible unique route controllers and actions for the application.

0.1 2017-03-01 06:38 UTC

This package is not auto-updated.

Last update: 2024-05-11 18:07:40 UTC


README

Returns an array of all possible unique route controllers and actions for the application.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist oorrwullie/yii2-getallroutes "*"

or add

"oorrwullie/yii2-getallroutes": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

use oorrwullie\components\getAllRoutes;

$list = new getAllRoutes();
print_r($list->routes);