Server Bundle
Directory
Get the directory:
$directory = new Server\Directory(Request $request); $directory->getOutput() : string;
File
Get the file:
$file = new Server\File(Request $request); $file->getOutput() : string;
Host
Get the host:
$host = new Server\Host(Request $request); $host->getOutput() : string;
Protocol
Get the protocol:
$protocol = new Server\Protocol(Request $request); $protocol->getOutput() : string;
Root
Get the root:
$root = new Server\Root(Request $request); $root->getOutput() : string;
Token
Get the token:
$token = new Server\Token(Request $request); $token->getOutput() : string;Edit on GitHub