Пример #1
0
 public function __call($method, $args)
 {
     if (substr($method, 0, 14) === 'prepareGateway') {
         if (!in_array($method, $this->getMethods())) {
             $method = 'prepareGatewayDefault';
         }
     }
     return parent::__call($method, $args);
 }