src/Util/Writer/File.php
public function write($content)
    {
        $resource = $this->getResource();

        if ($this->use_locking) {
            flock($resource, LOCK_EX);
        }

        gzwrite($resource, $content);

        if ($this->use_locking) {
            flock($resource, LOCK_UN);
        }
    }
public function write($content)
    {
        $resource = $this->getResource();

        if ($this->use_locking) {
            flock($resource, LOCK_EX);
        }

        gzwrite($resource, $content);

        if ($this->use_locking) {
            flock($resource, LOCK_UN);
        }
    }
public function write ( $ content ) { $ resource = $ this -> getResource ( ) ; if ( $ this -> use_locking ) { flock ( $ resource , LOCK_EX ) ; } gzwrite ( $ resource , $ content ) ; if ( $ this -> use_locking ) { flock ( $ resource , LOCK_UN ) ; } }
Write the content to the stream

@param  string $content
Write the content to the stream