Skip to content

Instantly share code, notes, and snippets.

@rodrigoSyscop
Created February 24, 2018 17:02
Show Gist options
  • Select an option

  • Save rodrigoSyscop/8b57997d64890b4d1fc2db4cd70bcc69 to your computer and use it in GitHub Desktop.

Select an option

Save rodrigoSyscop/8b57997d64890b4d1fc2db4cd70bcc69 to your computer and use it in GitHub Desktop.
framework/init.php
<?php // framework/init.php
require_once __DIR__.'/vendor/autoload.php';
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
$request = Request::createFromGlobals();
$response = new Response();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment