for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Base Resource
*
* @author Pronamic <[email protected]>
* @copyright 2005-2022 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
namespace Pronamic\WordPress\Pay\Gateways\Mollie;
* @link https://github.com/mollie/mollie-api-php/blob/v2.25.0/src/Resources/BaseResource.php
* @author Remco Tolsma
* @version 2.1.0
* @since 2.1.0
abstract class BaseResource {
* The resource unique identifier.
* @var string
private $id;
* Construct base resource.
* @param string $id Identifier.
public function __construct( $id ) {
$this->id = $id;
}
* Get identifier.
* @return string
public function get_id() {
return $this->id;