public function __construct(BubbleInterface $bubble) { parent::__construct('Bubble cancelled', 6); $this->bubble = $bubble; }
public function __construct(SpoutInterface $spout) { parent::__construct('Spout cannot run while disabled (call resume)', 6); $this->spout = $spout; }