/** * @param string $cause * @param string $message */ public function __construct($cause, $message) { $this->cause = $cause; parent::__construct($message); }
/** * @param string $message * @param LOLClientInterface $client */ public function __construct($message, LOLClientInterface $client = null) { $this->client = $client; parent::__construct($message); }