public static function create(string $environment): self
    {
        $environment = \strtolower($environment);

        self::validateEnvironment($environment);

        return new self($environment);
    }
public static function create(string $environment): self
    {
        $environment = \strtolower($environment);

        self::validateEnvironment($environment);

        return new self($environment);
    }
public static function create ( string $ environment ) : self { $ environment = \ strtolower ( $ environment ) ; self :: validateEnvironment ( $ environment ) ; return new self ( $ environment ) ; }
Creating the specified environment.

@param string $environment

@throws \LogicException The value of the environment is not specified, or is incorrect

@return Environment
Creating the specified environment .