| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class PoolRunEvent extends RunEvent |
||
| 20 | { |
||
| 21 | const POOL_RUN_ADDED = 'run.added'; |
||
| 22 | |||
| 23 | /** @var PoolInterface */ |
||
| 24 | private $pool; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * PoolRunEvent constructor. |
||
| 28 | * |
||
| 29 | * @param PoolInterface $pool |
||
| 30 | * @param RunInterface $run |
||
| 31 | */ |
||
| 32 | 55 | public function __construct(PoolInterface $pool, RunInterface $run) |
|
| 33 | { |
||
| 34 | 55 | parent::__construct($run); |
|
| 35 | 55 | $this->pool = $pool; |
|
| 36 | 55 | } |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return PoolInterface |
||
| 40 | */ |
||
| 41 | 5 | public function getPool() |
|
| 44 | } |
||
| 45 | } |
||
| 46 |