| 1 | <?php |
||
| 12 | class Reflection { |
||
| 13 | |||
| 14 | |||
| 15 | public static function getClassName($model) |
||
| 16 | { |
||
| 17 | $reflection = new \ReflectionClass($model); |
||
| 18 | return $reflection->getName(); |
||
| 19 | } |
||
| 20 | |||
| 21 | |||
| 22 | public static function getClassShortName ( $model ) { |
||
| 26 | |||
| 27 | |||
| 28 | public static function getBundlePath ( $model ){ |
||
| 32 | |||
| 33 | |||
| 34 | public static function getBundleRepository ( $model ){ |
||
| 38 | |||
| 39 | public static function getShortBundleRepository ( $model ){ |
||
| 43 | |||
| 44 | |||
| 45 | } |
||
| 46 |