public function write($content)
    {
        $this->openForWrite();
        $writtenBytes = $this->file->fwrite($content);

        return $writtenBytes;
    }
public function write($content)
    {
        $this->openForWrite();
        $writtenBytes = $this->file->fwrite($content);

        return $writtenBytes;
    }
public function write ( $ content ) { $ this -> openForWrite ( ) ; $ writtenBytes = $ this -> file -> fwrite ( $ content ) ; return $ writtenBytes ; }
Write a text

@param string $content
@return int|null
Write a text