Example #1
0
 /**
  * @param Gpf_Io_File
  */
 public function unlock(Gpf_Io_File $file)
 {
     if (!$file->isExists()) {
         return;
     }
     flock($file->getFileHandler(), LOCK_UN);
 }
 protected function getContent()
 {
     fpassthru($this->file->getFileHandler());
     flush();
 }