NullTransportFactory
extends AbstractTransportFactory
in package
FinalYes
Tags
Table of Contents
Properties
- $client : mixed
- $dispatcher : mixed
Methods
- __construct() : mixed
- create() : NullTransport
- supports() : bool
- getPassword() : string
- getSupportedSchemes() : array<string|int, string>
- getUser() : string
Properties
$client
protected
mixed
$client
$dispatcher
protected
mixed
$dispatcher
Methods
__construct()
public
__construct([EventDispatcherInterface $dispatcher = null ][, HttpClientInterface $client = null ]) : mixed
Parameters
- $dispatcher : EventDispatcherInterface = null
- $client : HttpClientInterface = null
create()
public
create(Dsn $dsn) : NullTransport
Parameters
- $dsn : Dsn
Return values
NullTransportsupports()
public
supports(Dsn $dsn) : bool
Parameters
- $dsn : Dsn
Return values
boolgetPassword()
protected
getPassword(Dsn $dsn) : string
Parameters
- $dsn : Dsn
Return values
stringgetSupportedSchemes()
protected
getSupportedSchemes() : array<string|int, string>
Return values
array<string|int, string>getUser()
protected
getUser(Dsn $dsn) : string
Parameters
- $dsn : Dsn