Example #1
0
 /**
  *
  */
 private function closeExistingHandle()
 {
     if (Resource::isNotEmpty($this->handle)) {
         fclose($this->handle);
     }
 }
Example #2
0
 /**
  *
  */
 public function testIsNotEmpty()
 {
     $this->assertTrue(Resource::isNotEmpty($this->_resource));
 }