Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
UbiquityUtils.php
Go to the documentation of this file.
1<?php
2
3namespace Ubiquity\utils;
4
6
8
9 public static function getModelsName($config, $name): string {
10 $modelsNS = $config ['mvcNS'] ['models'];
11 return ClassUtils::getClassNameWithNS ( $modelsNS, $name );
12 }
13
14 public static function getControllerName($config, $name): string {
15 $modelsNS = $config ['mvcNS'] ['controllers'];
16 return ClassUtils::getClassNameWithNS ( $modelsNS, $name );
17 }
18}
Manipulates class and namespace names Ubiquity\cache$ClassUtils This class is part of Ubiquity.
static getModelsName($config, $name)
static getControllerName($config, $name)