Skip to content

Instantly share code, notes, and snippets.

@heavenshell
Created May 18, 2011 15:26
Show Gist options
  • Save heavenshell/978800 to your computer and use it in GitHub Desktop.
Save heavenshell/978800 to your computer and use it in GitHub Desktop.
Silex WebTestCase
public function createApplication()
{
return require __DIR__.'/path/to/app.php';
}
public function createApplication()
{
include __DIR__.'/path/to/app.php';
return $app;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment