protected function FileValidatorTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\FileValidatorTest::setUp()
Overrides AbstractConstraintValidatorTest::setUp
File
- vendor/
symfony/ validator/ Tests/ Constraints/ FileValidatorTest.php, line 35
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
protected function setUp() {
parent::setUp();
$this->path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'FileValidatorTest';
$this->file = fopen($this->path, 'w');
fwrite($this->file, ' ', 1);
}