1: <?php
2: /**
3: * PHP Token Reflection
4: *
5: * Version 1.3.1
6: *
7: * LICENSE
8: *
9: * This source file is subject to the new BSD license that is bundled
10: * with this library in the file LICENSE.
11: *
12: * @author Ondřej Nešpor
13: * @author Jaroslav Hanslík
14: */
15:
16: namespace TokenReflection\Php;
17:
18: use TokenReflection;
19: use Reflector;
20:
21: /**
22: * Basic internal reflection interface.
23: *
24: * Common interface for all internal reflection classes.
25: */
26: interface IReflection extends TokenReflection\IReflection
27: {
28: /**
29: * Creates a reflection instance.
30: *
31: * @param \Reflector $internalReflection Internal reflection instance
32: * @param \TokenReflection\Broker $broker Reflection broker instance
33: * @return \TokenReflection\Php\IReflection
34: */
35: public static function create(Reflector $internalReflection, TokenReflection\Broker $broker);
36: }
37: