HumHub Documentation (unofficial)

AbstractTransport
in package
implements TransportInterface

AbstractYes
Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Interfaces

TransportInterface
Interface for all mailer transports.

Properties

$dispatcher  : mixed
$lastSent  : mixed
$logger  : mixed
$rate  : mixed

Methods

__construct()  : mixed
send()  : SentMessage|null
setMaxPerSecond()  : $this
Sets the maximum number of messages to send per second (0 to disable).
doSend()  : void
getLogger()  : LoggerInterface
stringifyAddresses()  : array<string|int, string>
checkThrottling()  : mixed

Properties

Methods

setMaxPerSecond()

Sets the maximum number of messages to send per second (0 to disable).

public setMaxPerSecond(float $rate) : $this
Parameters
$rate : float
Return values
$this

stringifyAddresses()

protected stringifyAddresses(array<string|int, Address$addresses) : array<string|int, string>
Parameters
$addresses : array<string|int, Address>
Return values
array<string|int, string>

        
On this page

Search results