| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentSupport\App\Services\Parser; |
| 4 |
|
| 5 |
class Parser |
| 6 |
{ |
| 7 |
public function __call($method, $params) |
| 8 |
{ |
| 9 |
$instance = new ShortcodeParser; |
| 10 |
return call_user_func_array([$instance, $method], $params); |
| 11 |
} |
| 12 |
|
| 13 |
public static function __callStatic($method, $params) |
| 14 |
{ |
| 15 |
$instance = new static; |
| 16 |
return call_user_func_array([$instance, $method], $params); |
| 17 |
} |
| 18 |
} |
| 19 |
|