1 | <?php |
||
8 | abstract class AbstractRewriter implements ReWriterInterface |
||
9 | { |
||
10 | /** @var CallWriterInterface original CallWriter */ |
||
11 | protected $callWriter; |
||
12 | |||
13 | /** @var array[] list of calls */ |
||
14 | public $calls = array(); |
||
15 | |||
16 | /** @inheritdoc */ |
||
17 | public function __construct(CallWriterInterface $callWriter) |
||
21 | |||
22 | /** @inheritdoc */ |
||
23 | public function writeCall($call) |
||
27 | |||
28 | /** * @inheritdoc */ |
||
29 | public function writeCalls($calls) |
||
33 | |||
34 | /** @inheritDoc */ |
||
35 | public function getCallWriter() |
||
39 | } |
||
40 |