<?php use Tale\ClassLoader; use Tale\Cli\Option; use Tale\Cli\Request; include '../src/Tale/ClassLoader.php'; $loader = new ClassLoader('../src'); $loader->register(); var_dump(\Tale\Environment::getClientOptions()); var_dump(\Tale\Net\Url::fromEnvironment(), (string) \Tale\Net\Url::fromEnvironment());
public static function getQueryStringFromEnvironment() { self::_validateWebEnvironment(); return Environment::getClientOption('redirectQueryString', Environment::getClientOption('queryString')); }
public static function getMethodFromEnvironment() { self::_validateWebEnvironment(); return Environment::getClientOption('REQUEST_METHOD'); }