protected function FileValidatorTest::tearDown in Plug 7
Overrides AbstractConstraintValidatorTest::tearDown
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ FileValidatorTest.php, line 44
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
protected function tearDown() {
parent::tearDown();
if (is_resource($this->file)) {
fclose($this->file);
}
if (file_exists($this->path)) {
unlink($this->path);
}
$this->path = null;
$this->file = null;
}