Created
July 27, 2020 00:01
-
-
Save thattomperson/4cfa2c38f5f7c1aaea8c6449ee041bc3 to your computer and use it in GitHub Desktop.
Revisions
-
thattomperson created this gist
Jul 27, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ <?php class Symfony1TinkerwellDriver extends TinkerwellDriver { public function canBootstrap($projectPath) { return file_exists($projectPath . '/config/ProjectConfiguration.class.php'); } public function bootstrap($projectPath) { require_once $projectPath . '/config/ProjectConfiguration.class.php'; $app = "main"; $env = "dev"; $debug = true; $configuration = ProjectConfiguration::getApplicationConfiguration($app, $env, $debug); sfContext::createInstance($configuration); } }