Property | Type | Description | |
---|---|---|---|
$config | phpbb\config\config | ||
$phpbb_container |
Method | Description | |
---|---|---|
__construct ( phpbb\user $user, phpbb\config\config $config, Symfony\Component\DependencyInjection\ContainerInterface $phpbb_container, phpbb\language\language $language ) | Construct method |
Method | Description | |
---|---|---|
check_all_ext ( |
Check if all the available extensions are up to date | |
check_core ( Symfony\Component\Console\Input\InputInterface $input, |
Check if the core is up to date | |
check_ext ( Symfony\Component\Console\Input\InputInterface $input, |
Check if a given extension is up to date | |
configure ( ) : null | Configures the service. | |
display_versions ( |
Display the details of the available updates | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | Executes the command. |
public __construct ( phpbb\user $user, phpbb\config\config $config, Symfony\Component\DependencyInjection\ContainerInterface $phpbb_container, phpbb\language\language $language ) | ||
$user | phpbb\user | |
$config | phpbb\config\config | |
$phpbb_container | Symfony\Component\DependencyInjection\ContainerInterface | |
$language | phpbb\language\language |
protected check_all_ext ( |
||
$io | IO handler, for formatted and unified IO | |
$recheck | boolean | Disallow the use of the cache |
return | integer |
protected check_core ( Symfony\Component\Console\Input\InputInterface $input, |
||
$input | Symfony\Component\Console\Input\InputInterface | Input stream, used to get the options. |
$io | IO handler, for formatted and unified IO | |
$stability | string | Force a given stability |
$recheck | boolean | Disallow the use of the cache |
return | integer |
protected check_ext ( Symfony\Component\Console\Input\InputInterface $input, |
||
$input | Symfony\Component\Console\Input\InputInterface | Input stream, used to get the options. |
$io | IO handler, for formatted and unified IO | |
$stability | string | Force a given stability |
$recheck | boolean | Disallow the use of the cache |
$ext_name | string | The extension name |
return | integer |
protected display_versions ( |
||
$io | IO handler, for formatted and unified IO | |
$updates_available | array | The list of the available updates |
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | ||
$input | Symfony\Component\Console\Input\InputInterface | Input stream, used to get the options. |
$output | Symfony\Component\Console\Output\OutputInterface | Output stream, used to print messages. |
return | integer | 0 if the board is up to date, 1 if it is not and 2 if an error occured. |