1 | <?php |
||
12 | class Uri extends Base implements CanRefer |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $perryReferredType = null; |
||
18 | |||
19 | /** |
||
20 | * @param array|null|object|string $inputData |
||
21 | * @param string $referTo |
||
22 | */ |
||
23 | public function __construct($inputData, $referTo = null) |
||
29 | |||
30 | /** |
||
31 | * call method, allows references to be called |
||
32 | * |
||
33 | * @param array $args |
||
34 | * @return Base |
||
35 | * @throws \Exception |
||
36 | */ |
||
37 | public function call($args = array()) |
||
41 | |||
42 | /** |
||
43 | * magic method to allow calling the object as if it was a function |
||
44 | * |
||
45 | * @param array $args |
||
46 | * @return Base |
||
47 | */ |
||
48 | public function __invoke($args = array()) |
||
52 | |||
53 | /** |
||
54 | * Magic to String |
||
55 | * @return string |
||
56 | */ |
||
57 | public function __toString() |
||
61 | } |
||
62 |