/** * Checks whether the current instance of the environment equals to the * specified. * @param string $environment * @return bool */ public function is($environment) { return $this->config->isEnvironment($environment); }