| 1 | <?php |
||
| 8 | class TransactionBox implements TransactionBoxInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var SplObjectStorage |
||
| 12 | */ |
||
| 13 | protected $collection; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * |
||
| 17 | */ |
||
| 18 | public function __construct() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @override |
||
| 25 | * @inheritDoc |
||
| 26 | */ |
||
| 27 | public function isEmpty() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @override |
||
| 34 | * @inheritDoc |
||
| 35 | */ |
||
| 36 | public function add(TransactionInterface $trans) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @override |
||
| 44 | * @inheritDoc |
||
| 45 | */ |
||
| 46 | public function remove(TransactionInterface $trans) |
||
| 51 | } |
||
| 52 |