\phpDocumentor\Command\PharUpdateCommand

Updates phpDocumentor.phar to the latest version.

$ php phpDocumentor.phar phar:update [-m|--major] [-p|--pre] [version]

Summary

Methods
Properties
Constants
No public methods found
No public properties found
PHAR_URL
configure()
execute()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

PHAR_URL

PHAR_URL = 'https://github.com/phpDocumentor/phpDocumentor2/releases/latest'

Methods

configure()

configure() : void

Initializes this command and sets the name, description, options and arguments.

execute()

execute(\Symfony\Component\Console\Input\InputInterface  $input, \Symfony\Component\Console\Output\OutputInterface  $output) : integer

Executes the business logic involved with this command.

Parameters

\Symfony\Component\Console\Input\InputInterface $input
\Symfony\Component\Console\Output\OutputInterface $output

Returns

integer