The following common classes are available in namespace phpsap\common
, and the exceptions are available in namespace phpsap\exceptions
. See the php-sap/common repository on github.
AbstractConfigContainer
A JSON encodeable configuration container implementing PSR-11 for retrieving configuration parameters.AbstractConfig
Configure basic connection parameters for SAP remote function calls, that are common to both connection types (A, and B) implementing\phpsap\interfaces\IConfig
.AbstractConfigA
Configure connection parameters for SAP remote function calls using a specific SAP application server (type A) implementing\phpsap\interfaces\IConfigA
.AbstractConfigB
Configure connection parameters for SAP remote function calls using load balancing (type B) implementing\phpsap\interfaces\IConfigB
.
AbstractConnection
Manages a PHP/SAP connection instance implementing\phpsap\interfaces\IConnection
.ConnectionPool
Provides a static pool of available PHP/SAP connections. The connections are organized using their connection IDs. The connection ID ensures, that only one connection per configuration is established.
AbstractFunction
Manages a PHP/SAP remote function call implementing\phpsap\interfaces\IFunction
.AbstractRemoteFunctionCall
Proxy class to simplify PHP/SAP remote function calls implementing\phpsap\interfaces\IFunction
.
SapException
a generic exception inherited by all other exception.ConfigKeyNotFoundException
in case a configuration key could not be found.IncompleteConfigException
in casegenerateConfig()
cannot get all mandatory keys for the configuration.ConnectionFailedException
in case a connection could not be established.UnknownFunctionException
in case the remote function doesn't exist.FunctionCallException
in case the remote function call failed.