Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
50 | public function add(OpcodeInterface $opcode, Readable $readable, int $offset = 0): OpcodeInterface |
||
51 | { |
||
52 | $id = self::$lastId++; |
||
53 | |||
54 | $joinable = $opcode->mount($id, $readable, $offset); |
||
55 | |||
56 | $this->opcodes[$id] = $joinable; |
||
57 | |||
58 | $this->ctx->match($joinable); |
||
59 | |||
60 | return $joinable; |
||
61 | } |
||
62 | |||
71 |