public function setDebug($debug) { return $this->setData(self::P_DEBUG, is_array($debug) ? $debug : []); }