12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- /*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Symfony\Bridge\PhpUnit\Legacy;
- /**
- * @internal
- */
- trait SetUpTearDownTraitForV5
- {
- /**
- * @return void
- */
- public static function setUpBeforeClass()
- {
- self::doSetUpBeforeClass();
- }
- /**
- * @return void
- */
- public static function tearDownAfterClass()
- {
- self::doTearDownAfterClass();
- }
- /**
- * @return void
- */
- protected function setUp()
- {
- self::doSetUp();
- }
- /**
- * @return void
- */
- protected function tearDown()
- {
- self::doTearDown();
- }
- private static function doSetUpBeforeClass()
- {
- parent::setUpBeforeClass();
- }
- private static function doTearDownAfterClass()
- {
- parent::tearDownAfterClass();
- }
- private function doSetUp()
- {
- parent::setUp();
- }
- private function doTearDown()
- {
- parent::tearDown();
- }
- }
|