| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class JxnClass extends JxnCall |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $sJsObject; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The class constructor |
||
| 28 | * |
||
| 29 | * @param DialogCommand $xDialog |
||
| 30 | * @param string $sJsObject |
||
| 31 | */ |
||
| 32 | public function __construct(DialogCommand $xDialog, string $sJsObject) |
||
| 33 | { |
||
| 34 | parent::__construct($xDialog, $sJsObject . '.'); |
||
| 35 | $this->sJsObject = $sJsObject; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Get the js class name |
||
| 40 | * |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function _class(): string |
||
| 46 | } |
||
| 47 | } |
||
| 48 |