/** * Shortcut for getting env variables * @deprecated 7.0.0 use $this->request instead * @param string $key the key that will be taken from the $_ENV array * @return array the value in the $_ENV element * @since 6.0.0 */ public function env($key) { return $this->request->getEnv($key); }