public function isWritable()
    {
        if (is_resource($this->stream) === true) {
            $metadata = $this->getMetadata();
            return Validator::isWritable($metadata);
        }
        return false;
    }
public function isWritable()
    {
        if (is_resource($this->stream) === true) {
            $metadata = $this->getMetadata();
            return Validator::isWritable($metadata);
        }
        return false;
    }
public function isWritable ( ) { if ( is_resource ( $ this -> stream ) === true ) { $ metadata = $ this -> getMetadata ( ) ; return Validator :: isWritable ( $ metadata ) ; } return false ; }
Returns whether or not the stream is writable
Returns whether or not the stream is writable