|
9 | 9 |
|
10 | 10 | Exceptions and abstract classes containing logic for [PHP/SAP][phpsap] that is not specific to the underlying PHP module. |
11 | 11 |
|
12 | | -## Exceptions |
13 | | - |
14 | | -The following exceptions are available in namespace `phpsap\exceptions`: |
15 | | - |
16 | | -* `SapException` a generic exception inherited by all other exception. |
17 | | -* `ConfigKeyNotFoundException` in case a configuration key could not be found. |
18 | | -* `ConnectionFailedException` in case a connection could not be established. |
19 | | -* `UnknownFunctionException` in case the remote function doesn't exist. |
20 | | -* `FunctionCallException` in case the remote function call failed. |
21 | | - |
22 | | -## Abstract classes |
23 | | - |
24 | | -The abstract classes define the logic of the PHP/SAP library, that is not specific to the underlying PHP module used to talk to SAP. |
25 | | - |
26 | | -These classes are available in namespace `phpsap\classes`: |
27 | | - |
28 | | -* `AbstractConfigContainer` A JSON encodeable configuration container implementing PSR-11 for retrieving configuration parameters. |
29 | | -* `AbstractConfig` Configure basic connection parameters for SAP remote function calls, that are common to both connection types (A, and B) implementing `\phpsap\interfaces\IConfig`. |
30 | | -* `AbstractConfigA` Configure connection parameters for SAP remote function calls using a specific SAP application server (type A) implementing `\phpsap\interfaces\IConfigA`. |
31 | | -* `AbstractConfigB` Configure connection parameters for SAP remote function calls using load balancing (type B) implementing `\phpsap\interfaces\IConfigB`. |
32 | | -* `AbstractConnection` Manages a PHP/SAP connection instance implementing `\phpsap\interfaces\IConnection`. |
33 | | -* `AbstractFunction` Manages a PHP/SAP remote function call implementing `\phpsap\interfaces\IFunction`. |
34 | | -* `AbstractRemoteFunctionCall` Proxy class to simplify PHP/SAP remote function calls implementing `\phpsap\interfaces\IFunction`. |
35 | | -* `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. |
| 12 | +[See PHP/SAP Common for documentation][doc] |
36 | 13 |
|
37 | 14 | [phpsap]: https://php-sap.github.io |
38 | 15 | [license-mit]: https://img.shields.io/badge/license-MIT-blue.svg |
| 16 | +[doc]: https://php-sap.github.io/common "Common classes and exceptions | PHP/SAP" |
39 | 17 | [travis-badge]: https://travis-ci.org/php-sap/common.svg?branch=master |
40 | 18 | [travis-ci]: https://travis-ci.org/php-sap/common |
41 | 19 | [maintainability-badge]: https://api.codeclimate.com/v1/badges/843db325cd8b83ff8eca/maintainability |
|
0 commit comments