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 __construct($dir, $file = null, $maxSize = 204800, $maxFiles = 3) { parent::__construct($dir, $file, $maxSize, $maxFiles); }