mutual_credit-5.0.x-dev/modules/credit_commons/src/AccountRemote.php

modules/credit_commons/src/AccountRemote.php
<?php

namespace Drupal\mcapi_credcom;

/**
 * These account objects are needed to use the \CreditCommons\Entry class.
 */
class AccountRemote extends \CreditCommons\Account {

  function __construct($id) {
    parent::__construct(\Drupal::config('mcapi_credcom.settings')->get('trunkward_node_id'), -1, 1);
    $this->relPath = $id;
  }
  function authenticate(string $string) { }
  function getLimits($force_local = FALSE): \stdClass|array { }
  function getSummary($force_local = FALSE): \stdClass|array { }
  function leafwardPath(): string { }
  function trunkwardPath(): string {
    return $this->relPath;
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc