Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 9th, 2020 141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. класс action/service
  2.     public function getAction() {
  3.         $code = $this->getParam("code");
  4.  
  5.         $service = __NAMESPACE__ . '\\Services\\' . $code;
  6.  
  7.         $params = $this->getPostList($service::PARAMS['get']);
  8.         $result = $type::getList($params);
  9.        
  10.         return $result;
  11.     }
  12. класс например transport:
  13.  
  14.    public const PARAMS = ['get'=>'id','list'=>''];
  15.  
  16. ...
  17.  
  18.    public function getList($params) {
  19.  
  20. ... логика метода
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top