Browse Source

Update README.md

master
therselman 8 years ago committed by GitHub
parent
commit
703c6f1aed
  1. 2
      README.md

2
README.md

@ -59,7 +59,7 @@ More properties can easily be added:
$c->session = new Session(); $c->session = new Session();
$c->isSecure = $uri->scheme === 'https'; $c->isSecure = $uri->scheme === 'https';
$c->getDummy = function($c) { return $c->dummy; }; $c->getDummy = function($c) { return $c->dummy; };
$c->setDummy = function($c, $dummy) { $c->dummy = $dummy; return $dummy; }; $c->setDummy = function($c, $dummy) { $c->dummy = $dummy; return $c; };
$dummy = $c->getDummy(); $dummy = $c->getDummy();
$c->setDummy($dummy); $c->setDummy($dummy);

Loading…
Cancel
Save