close() public method

closes the Writer and the written File
public close ( ) : Browscap\Writer\WriterInterface
return Browscap\Writer\WriterInterface
Beispiel #1
0
 /**
  * Sets up the fixture, for example, open a network connection.
  * This method is called before a test is executed.
  */
 public function teardown()
 {
     $this->object->close();
     unlink($this->file);
 }