/** * @param string | array $path */ static function setControllersPath($path) { self::$controllersPath = array(); foreach ((array) $path as $dir) { self::$controllersPath[] = rtrim($dir, '/') . '/'; } }