WP_CLI\Loggers
Base::get_runner
Retrieve the runner instance from the base CLI object. This facilitates unit testing, where the WP_CLI instance isn't available
Метод класса: Base{}
Хуков нет.
Возвращает
Runner. Instance of the runner class
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_runner();
Код Base::get_runner() Base::get runner WP-CLI 2.13.0-alpha
protected function get_runner() {
return WP_CLI::get_runner();
}