| 1 | <?php |
||
| 3 | class ProxyPlugin extends Kint_Parser_Plugin |
||
| 4 | { |
||
| 5 | protected $types; |
||
| 6 | protected $triggers; |
||
| 7 | protected $callback; |
||
| 8 | |||
| 9 | public function __construct($types, $triggers, $callback) |
||
| 15 | |||
| 16 | public function getTypes() |
||
| 20 | |||
| 21 | public function getTriggers() |
||
| 25 | |||
| 26 | public function parse(&$var, Kint_Object &$o, $trigger) |
||
| 30 | } |
||
| 31 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.