package |
Default |
inherited_from |
\Zend\Stdlib\AbstractOptions |
Methods
Constructor
__construct(array|\Traversable|null $options = null
)
Inherited
Parameters
$options
array
\Traversable
null
Get a configuration property
__get(string $key) : mixed
Inherited
see |
|
inherited_from |
\Zend\Stdlib\ParameterObjectInterface::__get() |
Parameters
$key
string
Exceptions
\Zend\Stdlib\Exception\BadMethodCallException |
|
Returns
mixed
Test if a configuration property is null
__isset(string $key) : boolean
Inherited
see |
|
inherited_from |
\Zend\Stdlib\ParameterObjectInterface::__isset() |
Parameters
$key
string
Returns
boolean
Set a configuration property
__set(string $key, mixed $value) : void
Inherited
see |
|
inherited_from |
\Zend\Stdlib\ParameterObjectInterface::__set() |
Parameters
$key
string
$value
mixed
Exceptions
\Zend\Stdlib\Exception\BadMethodCallException |
|
Set a configuration property to NULL
__unset(string $key) : void
Inherited
see |
|
inherited_from |
\Zend\Stdlib\ParameterObjectInterface::__unset() |
Parameters
$key
string
Exceptions
\Zend\Stdlib\Exception\InvalidArgumentException |
|
Get MAIL FROM
getFrom() : string
Get RCPT TO
getTo() : string | null
Set MAIL FROM
setFrom(string $from)
Set one or more configuration properties
setFromArray(array|\Traversable|\Zend\Stdlib\AbstractOptions $options) : \Zend\Stdlib\AbstractOptions
Inherited
Parameters
$options
array
\Traversable
\Zend\Stdlib\AbstractOptions
Exceptions
\Zend\Stdlib\Exception\InvalidArgumentException |
|
Returns
\Zend\Stdlib\AbstractOptions
Provides fluent interface
Set RCPT TO
setTo(string $to)
Cast to array
toArray() : array
Inherited
Properties
We use the __ prefix to avoid collisions with properties in
user-implementations.
$__strictMode__ : boolean
$from
$from : string | null