ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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  protected function assertStreamAttached(): void
33  {
34  if ($this->stream === null) {
35  $this->stream = fopen($this->uri, $this->_mode);
36  }
37  }
38 }
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