You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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][common].
4
+
5
+
### Config
6
+
7
+
*`AbstractConfigContainer` A JSON encodeable configuration container implementing PSR-11 for retrieving configuration parameters.
8
+
*`AbstractConfig` Configure basic connection parameters for SAP remote function calls, that are common to both connection types (A, and B) implementing `\phpsap\interfaces\IConfig`.
9
+
*`AbstractConfigA` Configure connection parameters for SAP remote function calls using a specific SAP application server (type A) implementing `\phpsap\interfaces\IConfigA`.
10
+
*`AbstractConfigB` Configure connection parameters for SAP remote function calls using load balancing (type B) implementing `\phpsap\interfaces\IConfigB`.
11
+
12
+
### Connection
13
+
14
+
*`AbstractConnection` Manages a PHP/SAP connection instance implementing `\phpsap\interfaces\IConnection`.
15
+
*`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.
16
+
17
+
### Function
18
+
19
+
*`AbstractFunction` Manages a PHP/SAP remote function call implementing `\phpsap\interfaces\IFunction`.
20
+
*`AbstractRemoteFunctionCall` Proxy class to simplify PHP/SAP remote function calls implementing `\phpsap\interfaces\IFunction`.
21
+
22
+
### Exceptions
23
+
24
+
*`SapException` a generic exception inherited by all other exception.
25
+
*`ConfigKeyNotFoundException` in case a configuration key could not be found.
26
+
*`IncompleteConfigException` in case `generateConfig()` cannot get all mandatory keys for the configuration.
27
+
*`ConnectionFailedException` in case a connection could not be established.
28
+
*`UnknownFunctionException` in case the remote function doesn't exist.
29
+
*`FunctionCallException` in case the remote function call failed.
30
+
31
+
32
+
[common]: https://github.com/php-sap/common"Exceptions and abstract classes containing logic for PHP/SAP that is not specific to the underlying PHP module."
Copy file name to clipboardExpand all lines: index.md
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,8 @@ The [interfaces](interfaces) define a common denominator on how to configure a
13
13
connection to SAP, prepare a SAP remote function call, and invoke a SAP remote
14
14
function call.
15
15
16
-
The [common classes and exceptions][common] add logic that is not specific to
16
+
The [common classes and exceptions](common) add logic that is not specific to
17
17
the underlying PHP module.
18
18
19
19
The module specific implementations contain code that is specific to [the
20
20
underlying PHP-module](php-modules).
21
-
22
-
23
-
[common]: https://github.com/php-sap/common"Exceptions and abstract classes containing logic for PHP/SAP that is not specific to the underlying PHP module."
0 commit comments