PHP Класс phpbb\install\installer

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$cache phpbb\cache\driver\driver_interface
$container_factory phpbb\install\helper\container_factory
$install_config phpbb\install\helper\config
$installer_modules phpbb\di\ordered_service_collection
$iohandler phpbb\install\helper\iohandler\iohandler_interface
$module_step_count array Stores the number of steps that a given module has
$purge_cache_before boolean
$web_root string

Открытые методы

Метод Описание
__construct ( phpbb\cache\driver\driver_interface $cache, phpbb\install\helper\config $config, phpbb\path_helper $path_helper, phpbb\install\helper\container_factory $container ) Constructor
run ( ) Run phpBB installer
set_iohandler ( phpbb\install\helper\iohandler\iohandler_interface $iohandler ) Sets input-output handler objects
set_modules ( phpbb\di\ordered_service_collection $modules ) Sets modules to execute
set_purge_cache_before ( boolean $purge_cache_before ) Sets whether to purge cache before the installation process

Защищенные методы

Метод Описание
recover_progress ( ) : string Recover install progress

Описание методов

__construct() публичный метод

Constructor
public __construct ( phpbb\cache\driver\driver_interface $cache, phpbb\install\helper\config $config, phpbb\path_helper $path_helper, phpbb\install\helper\container_factory $container )
$cache phpbb\cache\driver\driver_interface Cache service
$config phpbb\install\helper\config Installer config handler
$path_helper phpbb\path_helper Path helper
$container phpbb\install\helper\container_factory Container

recover_progress() защищенный метод

Recover install progress
protected recover_progress ( ) : string
Результат string Index of the next installer module to execute

run() публичный метод

Run phpBB installer
public run ( )

set_iohandler() публичный метод

Sets input-output handler objects
public set_iohandler ( phpbb\install\helper\iohandler\iohandler_interface $iohandler )
$iohandler phpbb\install\helper\iohandler\iohandler_interface

set_modules() публичный метод

Note: The installer will run modules in the order they are set in the array.
public set_modules ( phpbb\di\ordered_service_collection $modules )
$modules phpbb\di\ordered_service_collection Service collection of module service names

set_purge_cache_before() публичный метод

Sets whether to purge cache before the installation process
public set_purge_cache_before ( boolean $purge_cache_before )
$purge_cache_before boolean

Описание свойств

$cache защищенное свойство

protected driver_interface,phpbb\cache\driver $cache
Результат phpbb\cache\driver\driver_interface

$container_factory защищенное свойство

protected container_factory,phpbb\install\helper $container_factory
Результат phpbb\install\helper\container_factory

$install_config защищенное свойство

protected config,phpbb\install\helper $install_config
Результат phpbb\install\helper\config

$installer_modules защищенное свойство

protected ordered_service_collection,phpbb\di $installer_modules
Результат phpbb\di\ordered_service_collection

$iohandler защищенное свойство

protected iohandler_interface,phpbb\install\helper\iohandler $iohandler
Результат phpbb\install\helper\iohandler\iohandler_interface

$module_step_count защищенное свойство

Stores the number of steps that a given module has
protected array $module_step_count
Результат array

$purge_cache_before защищенное свойство

protected bool $purge_cache_before
Результат boolean

$web_root защищенное свойство

protected string $web_root
Результат string