| 1 | <?php |
||
| 23 | class WebServiceStub implements WebServiceInterface |
||
| 24 | { |
||
| 25 | |||
| 26 | protected $wsdl; |
||
| 27 | |||
| 28 | protected $soapArgs; |
||
| 29 | |||
| 30 | public function __construct($wsdl, $soapArgs) |
||
| 35 | |||
| 36 | public function getWsdl() |
||
| 40 | |||
| 41 | public function getSoapArgs() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Přidá listener na událost. |
||
| 48 | */ |
||
| 49 | public function subscribe( |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Zavola funkci na Skautisu |
||
| 58 | * |
||
| 59 | * @param string $functionName Jmeno funkce volane na skautisu |
||
| 60 | * @param array $arguments Argumenty funkce volane na skautisu |
||
| 61 | * |
||
| 62 | * @return mixed |
||
| 63 | */ |
||
| 64 | public function call( |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Zavola funkci na Skautisu |
||
| 73 | * |
||
| 74 | * @param string $functionName Jmeno funkce volane na skautisu |
||
| 75 | * @param array $arguments Argumenty funkce volane na skautisu |
||
| 76 | * |
||
| 77 | * @return mixed |
||
| 78 | */ |
||
| 79 | public function __call( |
||
| 85 | } |
||
| 86 |
Having each class in a dedicated file usually plays nice with PSR autoloaders and is therefore a well established practice. If you use other autoloaders, you might not want to follow this rule.