Documentation

bootstrap.php

Table of Contents

Constants

CIVICRM_TEST  = 1

Functions

civitest_civicrm_scanClasses()  : void
_phpunit_mockoloader()  : mixed
cv()  : string
Call the "cv" command.

Constants

Functions

civitest_civicrm_scanClasses()

civitest_civicrm_scanClasses(array<string|int, mixed> &$classes) : void
Parameters
$classes : array<string|int, mixed>

_phpunit_mockoloader()

_phpunit_mockoloader(mixed $prefix, mixed $base_dir, mixed $class) : mixed
Parameters
$prefix : mixed
$base_dir : mixed
$class : mixed

cv()

Call the "cv" command.

cv(string $cmd[, string $decode = 'json' ]) : string
Parameters
$cmd : string

The rest of the command to send.

$decode : string = 'json'

Ex: 'json' or 'phpcode'.

Tags
throws
RuntimeException

If the command terminates abnormally.

Return values
string

Response output (if the command executed normally).


        
On this page

Search results