ClosureLoader

class ClosureLoader extends Loader ClosureLoader loads routes from a PHP closure. The Closure must return a RouteCollection instance. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null) Imports a resource. from Loader LoaderInterface resolve(mixed $resource, string|null $type = null) Finds a loader able to

ClosureLoader

class ClosureLoader extends Loader ClosureLoader loads service definitions from a PHP closure. The Closure has access to the container as its first argument. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null) Imports a resource. from Loader LoaderInterface resolve(mixed $resource, string|null $type = null

ClonerInterface

interface ClonerInterface Methods Data cloneVar(mixed $var) Clones a PHP variable. Details Data cloneVar(mixed $var) Clones a PHP variable. Parameters mixed $var Any PHP variable Return Value Data The cloned variable represented by a Data object

ClockMock::time()

static time()

ClockMock::usleep()

static usleep($us) Parameters $us

ClockMock::withClockMock()

static withClockMock($enable = null) Parameters $enable

Client::submit()

Crawler submit(Form $form, array $values = array()) Submits a form. Parameters Form $form A Form instance array $values An array of form field values Return Value Crawler

ClockMock

class ClockMock Methods static withClockMock($enable = null) static time() static sleep($s) static usleep($us) static microtime($asFloat = false) static register($class) Details static withClockMock($enable = null) Parameters $enable static time() static sleep($s) Parameters $s static usleep($us)

Client::setServerParameters()

setServerParameters(array $server) Sets server parameters. Parameters array $server An array of server parameters

ClockMock::sleep()

static sleep($s) Parameters $s