| 1 | <?php |
||
| 23 | class Source implements SourceAccessorInterface |
||
| 24 | { |
||
| 25 | |||
| 26 | use Traits\SourceMagic; |
||
| 27 | |||
| 28 | public function __construct($className = null) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Should return source of method `$name` or static function |
||
| 35 | */ |
||
| 36 | public function __call($name, $arguments) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Should return source of property `$name` |
||
| 43 | */ |
||
| 44 | public function __get($name) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Should return source of working class |
||
| 51 | */ |
||
| 52 | public function __toString() |
||
| 56 | |||
| 57 | public static function __callStatic($name, $arguments) |
||
| 61 | |||
| 62 | public function method($name) |
||
| 66 | |||
| 67 | public function property($name) |
||
| 71 | |||
| 72 | |||
| 73 | } |
||
| 74 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.