Ejemplo n.º 1
0
 /**
  * @param bool $overwrite Set to TRUE to try overwriting the file if it already exists
  * @return void
  * @throws EyeIOException
  */
 public function createNewFile($overwrite = false)
 {
     $this->checkConnectPermission();
     try {
         parent::createNewFile($overwrite);
     } catch (EyeIOException $e) {
         throw new EyeIOException('Unable to create file at ' . $this->getAbsolutePath());
     }
 }