Skip to content

Instantly share code, notes, and snippets.

@psorensen
Created October 2, 2015 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psorensen/85854e8df33266fe9584 to your computer and use it in GitHub Desktop.
Save psorensen/85854e8df33266fe9584 to your computer and use it in GitHub Desktop.
slimes app->request
object(Slim\Http\Request)[39]
protected 'env' =>
object(Slim\Environment)[36]
protected 'properties' =>
array (size=25)
'REQUEST_METHOD' => string 'POST' (length=4)
'REMOTE_ADDR' => string '::1' (length=3)
'SCRIPT_NAME' => string '/slimes' (length=7)
'PATH_INFO' => string '/contact' (length=8)
'QUERY_STRING' => string '' (length=0)
'SERVER_NAME' => string 'localhost' (length=9)
'SERVER_PORT' => string '80' (length=2)
'HTTP_HOST' => string 'localhost' (length=9)
'HTTP_CONNECTION' => string 'keep-alive' (length=10)
'CONTENT_LENGTH' => string '0' (length=1)
'HTTP_CACHE_CONTROL' => string 'max-age=0' (length=9)
'HTTP_ACCEPT' => string 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' (length=74)
'HTTP_ORIGIN' => string 'http://localhost' (length=16)
'HTTP_UPGRADE_INSECURE_REQUESTS' => string '1' (length=1)
'HTTP_USER_AGENT' => string 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36' (length=110)
'CONTENT_TYPE' => string 'application/x-www-form-urlencoded' (length=33)
'HTTP_REFERER' => string 'http://localhost/slimes/contact' (length=31)
'HTTP_ACCEPT_ENCODING' => string 'gzip, deflate' (length=13)
'HTTP_ACCEPT_LANGUAGE' => string 'en-US,en;q=0.8' (length=14)
'HTTP_COOKIE' => string '_jsuid=698567135' (length=16)
'slim.url_scheme' => string 'http' (length=4)
'slim.input' => string '' (length=0)
'slim.errors' => resource(37, stream)
'slim.request.form_hash' =>
array (size=0)
empty
'slim.flash' =>
object(Slim\Middleware\Flash)[25]
protected 'settings' =>
array (size=1)
'key' => string 'slim.flash' (length=10)
protected 'messages' =>
array (size=3)
'prev' =>
array (size=0)
empty
'next' =>
array (size=0)
empty
'now' =>
array (size=0)
empty
protected 'app' =>
object(Slim\Slim)[5]
public 'container' =>
object(Slim\Helper\Set)[9]
protected 'data' =>
array (size=9)
'settings' =>
array (size=18)
'mode' => string 'development' (length=11)
'debug' => boolean true
'log.writer' => null
'log.level' => int 8
'log.enabled' => boolean true
'templates.path' => string './templates' (length=11)
'view' =>
object(Slim\Views\Twig)[7]
...
'cookies.encrypt' => boolean false
'cookies.lifetime' => string '20 minutes' (length=10)
'cookies.path' => string '/' (length=1)
'cookies.domain' => null
'cookies.secure' => boolean false
'cookies.httponly' => boolean false
'cookies.secret_key' => string 'CHANGE_ME' (length=9)
'cookies.cipher' => string 'rijndael-256' (length=12)
'cookies.cipher_mode' => string 'cbc' (length=3)
'http.version' => string '1.1' (length=3)
'routes.case_sensitive' => boolean true
'environment' =>
object(Closure)[11]
'request' =>
object(Closure)[13]
'response' =>
object(Closure)[15]
'router' =>
object(Closure)[17]
'view' =>
object(Closure)[19]
'logWriter' =>
object(Closure)[21]
'log' =>
object(Closure)[23]
'mode' =>
object(Closure)[24]
protected 'name' => string 'default' (length=7)
protected 'middleware' =>
array (size=4)
0 =>
object(Slim\Middleware\PrettyExceptions)[35]
protected 'settings' =>
array (size=0)
empty
protected 'app' =>
&object(Slim\Slim)[5]
protected 'next' =>
object(Slim\Middleware\MethodOverride)[26]
protected 'settings' =>
array (size=1)
...
protected 'app' =>
&object(Slim\Slim)[5]
protected 'next' =>
&object(Slim\Middleware\Flash)[25]
1 =>
object(Slim\Middleware\MethodOverride)[26]
protected 'settings' =>
array (size=1)
'key' => string '_METHOD' (length=7)
protected 'app' =>
&object(Slim\Slim)[5]
protected 'next' =>
&object(Slim\Middleware\Flash)[25]
2 =>
&object(Slim\Middleware\Flash)[25]
3 =>
&object(Slim\Slim)[5]
protected 'error' => null
protected 'notFound' => null
protected 'hooks' =>
array (size=6)
'slim.before' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.before.router' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.before.dispatch' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.after.dispatch' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.after.router' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.after' =>
array (size=1)
0 =>
array (size=0)
empty
protected 'next' =>
object(Slim\Slim)[5]
public 'container' =>
object(Slim\Helper\Set)[9]
protected 'data' =>
array (size=9)
'settings' =>
array (size=18)
'mode' => string 'development' (length=11)
'debug' => boolean true
'log.writer' => null
'log.level' => int 8
'log.enabled' => boolean true
'templates.path' => string './templates' (length=11)
'view' =>
object(Slim\Views\Twig)[7]
...
'cookies.encrypt' => boolean false
'cookies.lifetime' => string '20 minutes' (length=10)
'cookies.path' => string '/' (length=1)
'cookies.domain' => null
'cookies.secure' => boolean false
'cookies.httponly' => boolean false
'cookies.secret_key' => string 'CHANGE_ME' (length=9)
'cookies.cipher' => string 'rijndael-256' (length=12)
'cookies.cipher_mode' => string 'cbc' (length=3)
'http.version' => string '1.1' (length=3)
'routes.case_sensitive' => boolean true
'environment' =>
object(Closure)[11]
'request' =>
object(Closure)[13]
'response' =>
object(Closure)[15]
'router' =>
object(Closure)[17]
'view' =>
object(Closure)[19]
'logWriter' =>
object(Closure)[21]
'log' =>
object(Closure)[23]
'mode' =>
object(Closure)[24]
protected 'name' => string 'default' (length=7)
protected 'middleware' =>
array (size=4)
0 =>
object(Slim\Middleware\PrettyExceptions)[35]
protected 'settings' =>
array (size=0)
empty
protected 'app' =>
&object(Slim\Slim)[5]
protected 'next' =>
object(Slim\Middleware\MethodOverride)[26]
protected 'settings' =>
array (size=1)
...
protected 'app' =>
&object(Slim\Slim)[5]
protected 'next' =>
&object(Slim\Middleware\Flash)[25]
1 =>
object(Slim\Middleware\MethodOverride)[26]
protected 'settings' =>
array (size=1)
'key' => string '_METHOD' (length=7)
protected 'app' =>
&object(Slim\Slim)[5]
protected 'next' =>
&object(Slim\Middleware\Flash)[25]
2 =>
&object(Slim\Middleware\Flash)[25]
3 =>
&object(Slim\Slim)[5]
protected 'error' => null
protected 'notFound' => null
protected 'hooks' =>
array (size=6)
'slim.before' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.before.router' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.before.dispatch' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.after.dispatch' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.after.router' =>
array (size=1)
0 =>
array (size=0)
empty
'slim.after' =>
array (size=1)
0 =>
array (size=0)
empty
public 'headers' =>
object(Slim\Http\Headers)[41]
protected 'data' =>
array (size=13)
'Host' => string 'localhost' (length=9)
'Connection' => string 'keep-alive' (length=10)
'Content-Length' => string '0' (length=1)
'Cache-Control' => string 'max-age=0' (length=9)
'Accept' => string 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' (length=74)
'Origin' => string 'http://localhost' (length=16)
'Upgrade-Insecure-Requests' => string '1' (length=1)
'User-Agent' => string 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36' (length=110)
'Content-Type' => string 'application/x-www-form-urlencoded' (length=33)
'Referer' => string 'http://localhost/slimes/contact' (length=31)
'Accept-Encoding' => string 'gzip, deflate' (length=13)
'Accept-Language' => string 'en-US,en;q=0.8' (length=14)
'Cookie' => string '_jsuid=698567135' (length=16)
public 'cookies' =>
object(Slim\Helper\Set)[43]
protected 'data' =>
array (size=1)
'_jsuid' => string '698567135' (length=9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment