PhpOrient Protocols Common AbstractTransport - Ostico/PhpOrient GitHub Wiki
PhpOrient\Protocols\Common\AbstractTransport
Properties
$hostname
protected string $hostname
$port
protected string $port
$username
protected string $username
$password
protected string $password
$clusterList
protected \PhpOrient\Protocols\Common\ClusterMap $clusterList
$_logger
protected \Psr\Log\LoggerInterface $_logger
- Visibility: protected
- This property is static.
Methods
__construct
mixed PhpOrient\Protocols\Common\AbstractTransport::__construct()
Class Constructor
debug
mixed PhpOrient\Protocols\Common\AbstractTransport::debug($message)
Arguments
getClusterMap
\PhpOrient\Protocols\Common\ClusterMap PhpOrient\Protocols\Common\AbstractTransport::getClusterMap()
setClusterMap
mixed PhpOrient\Protocols\Common\AbstractTransport::setClusterMap(\PhpOrient\Protocols\Common\ClusterMap $clusterList)
Arguments
getTransaction
\PhpOrient\Protocols\Binary\Transaction\TxCommit PhpOrient\Protocols\Common\AbstractTransport::getTransaction()
Retrieve a new transaction instance
configure
\PhpOrient\Protocols\Common\ConfigurableInterface PhpOrient\Protocols\Common\ConfigurableInterface::configure(array $options)
Configure the object.
Arguments
- $options array The options for the object.
fromConfig
static PhpOrient\Protocols\Common\AbstractTransport::fromConfig(array $options)
Return a new class instance configured from the given options.
- Visibility: public
- This method is static.
Arguments
- $options array The options for the newly created class instance.
execute
mixed PhpOrient\Protocols\Common\TransportInterface::execute(string $operation, array $params)
Execute the operation with the given name.
Arguments
- $operation string The operation to prepare.
- $params array The parameters for the operation.