Neos\Flow\ResourceManagement\Streams\StreamWrapperAdapter::stream_close PHP Method

stream_close() public method

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
return void
    public function stream_close()
    {
        $this->streamWrapper->close();
    }

Usage Example

コード例 #1
0
 /**
  * @test
  */
 public function stream_closeTest()
 {
     $this->mockStreamWrapper->expects($this->once())->method('close');
     $this->streamWrapperAdapter->stream_close();
 }