for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jaxon\Script;
/**
* JxnClass.php
*
* Call to a Jaxon registered class.
* @package jaxon-core
* @author Thierry Feuzeu
* @copyright 2024 Thierry Feuzeu <[email protected]>
* @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
* @link https://github.com/jaxon-php/jaxon-core
*/
use Jaxon\Plugin\Response\Dialog\DialogCommand;
class JxnClass extends JxnCall
{
* @var string
protected $sJsObject;
* The class constructor
* @param DialogCommand $xDialog
* @param string $sJsObject
public function __construct(DialogCommand $xDialog, string $sJsObject)
parent::__construct($xDialog, $sJsObject . '.');
$this->sJsObject = $sJsObject;
}
* Get the js class name
* @return string
public function _class(): string
return $this->sJsObject;