api/symfony/Component/Mailer/Transport/Smtp/Stream/SocketStream.yaml
2024-09-26 02:03:21 -07:00

101 lines
2.3 KiB
YAML

name: SocketStream
class_comment: null
dependencies:
- name: TransportException
type: class
source: Symfony\Component\Mailer\Exception\TransportException
properties: []
methods:
- name: setTimeout
visibility: public
parameters:
- name: timeout
comment: "# * A stream supporting remote sockets.\n# *\n# * @author Fabien Potencier\
\ <fabien@symfony.com>\n# * @author Chris Corbyn\n# *\n# * @internal\n# */\n#\
\ final class SocketStream extends AbstractStream\n# {\n# private string $url;\n\
# private string $host = 'localhost';\n# private int $port = 465;\n# private float\
\ $timeout;\n# private bool $tls = true;\n# private ?string $sourceIp = null;\n\
# private array $streamContextOptions = [];\n# \n# /**\n# * @return $this"
- name: getTimeout
visibility: public
parameters: []
comment: null
- name: setHost
visibility: public
parameters:
- name: host
comment: '# * Literal IPv6 addresses should be wrapped in square brackets.
# *
# * @return $this'
- name: getHost
visibility: public
parameters: []
comment: null
- name: setPort
visibility: public
parameters:
- name: port
comment: '# * @return $this'
- name: getPort
visibility: public
parameters: []
comment: null
- name: disableTls
visibility: public
parameters: []
comment: '# * Sets the TLS/SSL on the socket (disables STARTTLS).
# *
# * @return $this'
- name: isTLS
visibility: public
parameters: []
comment: null
- name: setStreamOptions
visibility: public
parameters:
- name: options
comment: '# * @return $this'
- name: getStreamOptions
visibility: public
parameters: []
comment: null
- name: setSourceIp
visibility: public
parameters:
- name: ip
comment: '# * Sets the source IP.
# *
# * IPv6 addresses should be wrapped in square brackets.
# *
# * @return $this'
- name: getSourceIp
visibility: public
parameters: []
comment: '# * Returns the IP used to connect to the destination.'
- name: initialize
visibility: public
parameters: []
comment: null
- name: startTLS
visibility: public
parameters: []
comment: null
- name: terminate
visibility: public
parameters: []
comment: null
- name: getReadConnectionDescription
visibility: protected
parameters: []
comment: null
traits:
- Symfony\Component\Mailer\Exception\TransportException
interfaces: []