Neos\Flow\ResourceManagement\Streams\StreamWrapperAdapter::stream_close PHP Метод

stream_close() публичный Метод

This method is called in response to fclose(). All resources that were locked, or allocated, by the wrapper should be released.
public stream_close ( ) : void
Результат void
    public function stream_close()
    {
        $this->streamWrapper->close();
    }

Usage Example

 /**
  * @test
  */
 public function stream_closeTest()
 {
     $this->mockStreamWrapper->expects($this->once())->method('close');
     $this->streamWrapperAdapter->stream_close();
 }