Ubiquity  2.0.3
php rapid development framework
Admin.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Ubiquity\controllers;
4 
7 
11 class Admin extends ControllerBase {
12 
16  public function index() {
17  $routes=CacheManager::getRoutes();
18  foreach ( $routes as $path => $infosroute ) {
19  echo $path . "=>" . UArray::asPhpArray($infosroute);
20  }
21  }
22 
26  public function opCacheReset() {
27  \opcache_reset();
28  }
29 }
30 
index()
("/routes")
Definition: Admin.php:16
opCacheReset()
("/reset/cache")
Definition: Admin.php:26
This file is part of Ubiquity framework.
static asPhpArray($array, $prefix="", $depth=1, $format=false)
Definition: UArray.php:53