public function close()
    {
        if ($this->fileDescriptor !== null) {
            @fclose($this->fileDescriptor);
            $this->fileDescriptor = null;
        }
    }
public function close()
    {
        if ($this->fileDescriptor !== null) {
            @fclose($this->fileDescriptor);
            $this->fileDescriptor = null;
        }
    }
public function close ( ) { if ( $ this -> fileDescriptor !== null ) { @ fclose ( $ this -> fileDescriptor ) ; $ this -> fileDescriptor = null ; } }
Closes the stream. Once a stream has been closed, further calls to read
methods will throw an exception. Closing a previously-closed stream,
however, has no effect.

@return void
Closes the stream . Once a stream has been closed further calls to read methods will throw an exception . Closing a previously - closed stream however has no effect .