File manager - Edit - /var/www/payraty/hris/vendor/fedapay/fedapay-php/lib/ApiOperations/Retrieve.php
Back
<?php namespace FedaPay\ApiOperations; /** * trait Retrieve */ trait Retrieve { /** * Static method to retrive a resource * @param mixed $id * @return FedaPay\FedaPayObject */ public static function retrieve($id, $params = [], $headers = []) { $url = static::resourcePath($id); $className = static::className(); list($response, $opts) = static::_staticRequest('get', $url, $params, $headers); $object = \FedaPay\Util\Util::arrayToFedaPayObject($response, $opts); return $object->$className; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings