mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-07 08:45:37 +08:00
1.5 KiB
1.5 KiB
ZM\Container\BoundMethod
call
public function call(ZM\Container\ContainerInterface $container, mixed $callback, array $parameters, string $default_method): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| container | ZM\Container\ContainerInterface | |
| callback | mixed | |
| parameters | array | |
| default_method | string |
返回
| 类型 | 描述 |
|---|---|
| mixed |
getMethodDependencies
public function getMethodDependencies(ZM\Container\ContainerInterface $container, mixed $callback, array $parameters): array
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| container | ZM\Container\ContainerInterface | |
| callback | mixed | |
| parameters | array |
返回
| 类型 | 描述 |
|---|---|
| array |
addDependencyForCallParameter
public function addDependencyForCallParameter(ZM\Container\ContainerInterface $container, ReflectionParameter $parameter, array $parameters, array $dependencies): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| container | ZM\Container\ContainerInterface | |
| parameter | ReflectionParameter | |
| parameters | array | |
| dependencies | array |
返回
| 类型 | 描述 |
|---|---|
| void |