| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class JsCall extends AbstractJsCall |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $sJsObject; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The class constructor |
||
| 31 | * |
||
| 32 | * @param DialogCommand $xDialog |
||
| 33 | * @param Closure|null $xExprCb |
||
| 34 | * @param string $sJsObject |
||
| 35 | */ |
||
| 36 | public function __construct(DialogCommand $xDialog, ?Closure $xExprCb, string $sJsObject) |
||
| 37 | { |
||
| 38 | parent::__construct($xDialog, $xExprCb); |
||
| 39 | $this->sJsObject = $sJsObject; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Create a js expression |
||
| 44 | * |
||
| 45 | * @return JsExpr |
||
| 46 | */ |
||
| 47 | protected function _expr(): JsExpr |
||
| 58 | } |
||
| 59 | } |
||
| 60 |