Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Invoker\CallableResolver Class Reference

Public Member Functions

 __construct (ContainerInterface $container)
 
 resolve ($callable)
 Resolve the given callable into a real PHP callable.
 

Member Function Documentation

◆ resolve()

Invoker\CallableResolver::resolve ( $callable)

Resolve the given callable into a real PHP callable.

Parameters
callable | string | array$callable
Return values
callableReal PHP callable.
Exceptions
NotCallableException|ReflectionException

The documentation for this class was generated from the following file: