Codeception\Module\WPLoader::bootstrapActions PHP Метод

bootstrapActions() публичный Метод

Calls a list of user-defined actions needed in tests.
public bootstrapActions ( )
    public function bootstrapActions()
    {
        if (empty($this->config['bootstrapActions'])) {
            return;
        }
        foreach ($this->config['bootstrapActions'] as $action) {
            if (!is_callable($action)) {
                do_action($action);
            } else {
                call_user_func($action);
            }
        }
    }