Created
May 18, 2011 15:26
-
-
Save heavenshell/978800 to your computer and use it in GitHub Desktop.
Silex WebTestCase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function createApplication() | |
{ | |
return require __DIR__.'/path/to/app.php'; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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