getBootstrapPath() public method

public getBootstrapPath ( )
Example #1
0
 public function beforeSuite()
 {
     if ($bootstrap = $this->io->getBootstrapPath()) {
         if (!is_file($bootstrap)) {
             throw new \RuntimeException(sprintf("Bootstrap file '%s' does not exist", $bootstrap));
         }
         require $bootstrap;
     }
 }