/** * Checks if Key exists in collection * * @param $key * @return bool */ public function has($key) { $key = str_replace('_', '-', strtolower($key)); return parent::has($key); }