ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ReattachableStream.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Filesystem\Stream;
22 
27 {
32  #[\Override]
33  protected function assertStreamAttached(): void
34  {
35  if ($this->stream === null) {
36  $this->stream = fopen($this->uri, $this->_mode);
37  }
38  }
39 }
assertStreamAttached()
Checks if the stream is attached to the wrapper.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: FileStream.php:19
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null