public static function factory(?Enviroment $environment = null): Parser
    {
        $environment = $environment ?? Enviroment::getFromSapi(PHP_SAPI);

        return self::evaluate($environment)->isInstanceOf(Parser::class)->getValue();
    }
public static function factory(?Enviroment $environment = null): Parser
    {
        $environment = $environment ?? Enviroment::getFromSapi(PHP_SAPI);

        return self::evaluate($environment)->isInstanceOf(Parser::class)->getValue();
    }
public static function factory ( ? Enviroment $ environment = null ) : Parser { $ environment = $ environment ?? Enviroment :: getFromSapi ( PHP_SAPI ) ; return self :: evaluate ( $ environment ) -> isInstanceOf ( Parser :: class ) -> getValue ( ) ; }
Devuelve el parser asociado a un nombre

@param null|\PlanB\Beautifier\Enviroment $environment

@return \PlanB\Beautifier\Parser\Parser
Devuelve el parser asociado a un nombre