for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jaxon\Response\Plugin\Call;
use Jaxon\Request\JsCall;
class Method extends JsCall
{
/**
* The constructor.
*
* @param string $sMethod The jQuery function
* @param array $aArguments The arguments of the jQuery function
*/
public function __construct($sMethod, $aArguments)
parent::__construct($sMethod);
// Always use single quotes
$this->useSingleQuotes();
// Add the arguments to the parameter list
$this->addParameters($aArguments);
}