helpers.php
Table of Contents
Functions
- publish() : bool
- 生产
- is_empty_dir() : bool
Functions
publish()
生产
publish(AbstractBuilder $builder, string $body[, string|null $routingKey = null ][, array<string|int, mixed>|null $headers = null ][, bool $close = false ]) : bool
Parameters
- $builder : AbstractBuilder
- $body : string
- $routingKey : string|null = null
- $headers : array<string|int, mixed>|null = null
- $close : bool = false
-
执行完是否关闭channel
Return values
boolis_empty_dir()
is_empty_dir(string $path[, bool $remove = false ]) : bool
Parameters
- $path : string
- $remove : bool = false