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::usleep()

static usleep($us) Parameters $us

ClockMock::withClockMock()

static withClockMock($enable = null) Parameters $enable

ClockMock::time()

static time()

Client::setServerParameters()

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

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::sleep()

static sleep($s) Parameters $s

ClockMock::register()

static register($class) Parameters $class