2017 © Pedro Peláez
 

library cable-cookie

MIT

image

cable/cable-cookie

MIT

  • Monday, June 5, 2017
  • by anonymframework
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Cookie Library for Cable Framework, (*1)

$container = \Cable\Container\Factory::create();
$container->add('request', \Symfony\Component\HttpFoundation\Request::createFromGlobals());

$container->addProvider(\Cable\Cookie\CookieServiceProvider::class);
$container->singleton('response', \Symfony\Component\HttpFoundation\Response::create());
$cookie = $container['cookie'];

var_dump($cookie);


Session


$container = \Cable\Container\Factory::create(); $container->addProvider(\Cable\Session\SessionServiceProvider::class); $container->singleton('response', \Symfony\Component\HttpFoundation\Response::create()); $session = $container['session']; $flash = $container['flashbag'];

The Versions

05/06 2017

dev-master

9999999-dev

MIT

  Sources   Download

MIT

The Requires

 

by Avatar anonymframework

05/06 2017