Exemple #1
0
 public function __construct($dir, $file = null, $maxSize = 1, $maxFiles = 1)
 {
     parent::__construct($dir, $file, $maxSize, $maxFiles);
     // close the open files in order to see if an exception is thrown
     foreach ($this->openFiles as $fh) {
         fclose($fh);
     }
 }
 public function openFile($fileName)
 {
     return parent::openFile($fileName);
 }