Symfony\Bundle\SecurityBundle\Tests\Functional\WebTestCase::setUp PHP Méthode

setUp() protected méthode

protected setUp ( )
    protected function setUp()
    {
        if (!class_exists('Twig_Environment')) {
            $this->markTestSkipped('Twig is not available.');
        }

        parent::setUp();
    }

Usage Example

Exemple #1
0
 protected function setUp()
 {
     if (!class_exists('PDO') || !in_array('sqlite', \PDO::getAvailableDrivers())) {
         self::markTestSkipped('This test requires SQLite support in your environment');
     }
     parent::setUp();
     $this->deleteTmpDir('Acl');
 }
All Usage Examples Of Symfony\Bundle\SecurityBundle\Tests\Functional\WebTestCase::setUp