/** * @param DebugBar $debugBar */ public function __construct(DebugBar $debugBar) { if (!$debugBar->isDataPersisted()) { throw new DebugBarException("DebugBar must have a storage backend to use OpenHandler"); } $this->debugBar = $debugBar; }
/** * @param DebugBar $debugBar */ public function __construct(DebugBar $debugBar) { if (!$debugBar->isDataPersisted()) { throw new DebugBarException("DebugBar must have a storage backend to use OpenHandler"); } $this->debugBar = $debugBar; }