/** * Remove configuration by key. * * @param string $key * @return Configuration */ protected function removeByKey($key) { return Configuration::where('key', $key)->delete(); }