1 | <?php |
||
18 | class NamespacedReflectionFunction extends ReflectionFunction |
||
19 | { |
||
20 | /** |
||
21 | * Custom namespace name |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | private $namespace = ''; |
||
26 | |||
27 | /** |
||
28 | * Extends the logic with passing the namespace name |
||
29 | * |
||
30 | * @param string $namespace Name of the namespace |
||
31 | * {@inheritDoc} |
||
32 | */ |
||
33 | public function __construct($name, $namespace = '') |
||
38 | |||
39 | /** |
||
40 | * {@inheritDoc} |
||
41 | */ |
||
42 | public function getNamespaceName() |
||
50 | } |
||
51 |