PluginProbe
seQura / trunk
seQura vtrunk
4.3.4 4.3.3 4.3.2 4.3.1 trunk 2.0.0 2.0.10 2.0.11 2.0.12 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0.0 3.0.2 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 4.0.0 All 30 releases
sequra / src / Core / Extension / Infrastructure / Configuration / class-configuration.php

class-configuration.php in seQura trunk, at src/Core/Extension/Infrastructure/Configuration/class-configuration.php

46 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Extends the Configuration class.
4 * Delegate to the ConfigurationManager instance to access the data in the database.
5 *
6 * @package SeQura\WC
7 */
8
9 namespace SeQura\WC\Core\Extension\Infrastructure\Configuration;
10
11 use SeQura\Core\Infrastructure\Configuration\Configuration as CoreConfiguration;
12 use SeQura\Core\Infrastructure\ServiceRegister;
13 use SeQura\WC\Services\Constants\Interface_Constants;
14
15 /**
16 * Extends the Configuration class. Wrapper to ease the read and write of configuration values.
17 */
18 class Configuration extends CoreConfiguration {
19
20 /**
21 * Retrieves integration name.
22 *
23 * @return string Integration name.
24 */
25 public function getIntegrationName() {
26 /**
27 * Constants
28 *
29 * @var Interface_Constants $constants
30 */
31 $constants = ServiceRegister::getService( Interface_Constants::class );
32 return $constants->get_integration_name();
33 }
34
35 /**
36 * Returns async process starter url, always in http.
37 *
38 * @param string $guid Process identifier.
39 *
40 * @return string Formatted URL of async process starter endpoint.
41 */
42 public function getAsyncProcessUrl( $guid ) {
43 return ''; // Not used in this implementation.
44 }
45 }
46