for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* AbstractRequestPlugin.php - Jaxon Request interface
*
* Interface for Jaxon Request plugins.
* Request plugins handle the registration, client script generation and processing of jaxon enabled requests.
* Each plugin should have a unique signature for both the registration and processing of requests.
* During registration, the user will specify a type which will allow the plugin to detect and handle it.
* During client script generation, the plugin will generate a <jaxon.request> stub with the prescribed call options and request signature.
* During request processing, the plugin will detect the signature generated previously and process the request accordingly.
* @package jaxon-core
* @author Jared White
* @author J. Max Wilson
* @author Joseph Woolley
* @author Steffen Konerow
* @author Thierry Feuzeu <[email protected]>
* @copyright Copyright (c) 2005-2007 by Jared White & J. Max Wilson
* @copyright Copyright (c) 2008-2010 by Joseph Woolley, Steffen Konerow, Jared White & J. Max Wilson
* @copyright 2016 Thierry Feuzeu <[email protected]>
* @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
* @link https://github.com/jaxon-php/jaxon-core
*/
namespace Jaxon\Plugin;
use Jaxon\Request\Target;
abstract class AbstractRequestPlugin extends AbstractPlugin implements CallableRegistryInterface, RequestHandlerInterface
{
* @var Target
protected $xTarget = null;
* @inheritDoc
public function getTarget(): ?Target
return $this->xTarget;
}