public function updateComposer($lock = false)
    {
        $update = $this->taskComposerUpdate();

        if ($lock) {
            $update->option('lock');
        }
        $update->run();

        return $this;
    }
public function updateComposer($lock = false)
    {
        $update = $this->taskComposerUpdate();

        if ($lock) {
            $update->option('lock');
        }
        $update->run();

        return $this;
    }
public function updateComposer ( $ lock = false ) { $ update = $ this -> taskComposerUpdate ( ) ; if ( $ lock ) { $ update -> option ( 'lock' ) ; } $ update -> run ( ) ; return $ this ; }
Update composer packages.

@param bool $lock
Determine to update composer using --lock.

@return self
Update composer packages .