public function getControllerDirectories()
    {
        $dirs = [];
        $controller_ns = $this->config('controller.namespaces');
        foreach ($this->config('directory.apps') as $dir) {
            if (in_array($dir['namespace'], $controller_ns)) $dirs[] = $dir['dir'] . DS . 'Controller';
        }
        return $dirs;
    }