78 lines
1.5 KiB
Markdown
Raw Normal View History

2022-04-15 15:08:34 +00:00
# ZM\Container\BoundMethod
## call
```php
2022-08-22 07:39:44 +00:00
public function call(ZM\Container\ContainerInterface $container, mixed $callback, array $parameters, string $default_method): mixed
2022-04-15 15:08:34 +00:00
```
### 描述
2022-08-22 07:39:44 +00:00
作者很懒,什么也没有说
2022-04-15 15:08:34 +00:00
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
2022-08-22 07:39:44 +00:00
| container | ZM\Container\ContainerInterface | |
| callback | mixed | |
2022-04-15 15:08:34 +00:00
| parameters | array | |
| default_method | string | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |
## getMethodDependencies
```php
2022-08-22 07:39:44 +00:00
public function getMethodDependencies(ZM\Container\ContainerInterface $container, mixed $callback, array $parameters): array
2022-04-15 15:08:34 +00:00
```
### 描述
2022-08-22 07:39:44 +00:00
作者很懒,什么也没有说
2022-04-15 15:08:34 +00:00
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| container | ZM\Container\ContainerInterface | |
2022-08-22 07:39:44 +00:00
| callback | mixed | |
2022-04-15 15:08:34 +00:00
| parameters | array | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| array | |
## addDependencyForCallParameter
```php
public function addDependencyForCallParameter(ZM\Container\ContainerInterface $container, ReflectionParameter $parameter, array $parameters, array $dependencies): void
```
### 描述
2022-08-22 07:39:44 +00:00
作者很懒,什么也没有说
2022-04-15 15:08:34 +00:00
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| container | ZM\Container\ContainerInterface | |
| parameter | ReflectionParameter | |
| parameters | array | |
| dependencies | array | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |