WP_CLI\Bootstrap
BootstrapStep{}
Interface BootstrapStep.
Represents a single bootstrapping step that can be processed.
Хуков нет.
Использование
$BootstrapStep = new BootstrapStep(); // use class methods
Методы
Заметки
- Пакет: WP_CLI\Bootstrap
Код BootstrapStep{} BootstrapStep{} WP-CLI 2.8.0-alpha
interface BootstrapStep { /** * Process this single bootstrapping step. * * @param BootstrapState $state Contextual state to pass into the step. * * @return BootstrapState Modified state to pass to the next step. */ public function process( BootstrapState $state ); }