function put($path, $contents, $owner = null)
    {
        file_put_contents($path, $contents);

        if ($owner) {
            $this->chown($path, $owner);
        }
    }
function put($path, $contents, $owner = null)
    {
        file_put_contents($path, $contents);

        if ($owner) {
            $this->chown($path, $owner);
        }
    }
function put ( $ path , $ contents , $ owner = null ) { file_put_contents ( $ path , $ contents ) ; if ( $ owner ) { $ this -> chown ( $ path , $ owner ) ; } }
Write to the given file.

@param  string  $path
@param  string  $contents
@param  string|null  $owner
@return void
Write to the given file .