AbstractTransportFactory
in package
implements
TransportFactoryInterface
AbstractYes
Tags
Table of Contents
Interfaces
Properties
- $client : mixed
- $dispatcher : mixed
Methods
- __construct() : mixed
- 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
supports()
public
supports(Dsn $dsn) : bool
Parameters
- $dsn : Dsn
Return values
boolgetPassword()
protected
getPassword(Dsn $dsn) : string
Parameters
- $dsn : Dsn
Return values
stringgetSupportedSchemes()
protected
abstract getSupportedSchemes() : array<string|int, string>
Return values
array<string|int, string>getUser()
protected
getUser(Dsn $dsn) : string
Parameters
- $dsn : Dsn