lithium\net\socket\Stream::close()

public method

Closes the stream

Returns

boolean

True on closed connection

Source

	public function close() {
		return !is_resource($this->_resource) || fclose($this->_resource);
	}