1 | <?php |
||
7 | class Naming |
||
8 | { |
||
9 | /** |
||
10 | * Return a translitared name for a project |
||
11 | * |
||
12 | * @param string $projectPath Project directory |
||
13 | * |
||
14 | * @return string |
||
15 | */ |
||
16 | public function getProjectName($projectPath) |
||
23 | |||
24 | /** |
||
25 | * Generate a unique key for a list of parameters, with same parameters |
||
26 | * the key must not change (no random stuff) and the order does not matter |
||
27 | * |
||
28 | * @param array $parameters |
||
29 | * |
||
30 | * @return integer |
||
31 | */ |
||
32 | public function getUniqueKey($parameters = array()) |
||
40 | } |
||
41 |