for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* AbstractPlugin.php - Plugin interface
*
* Generic interface for all Jaxon plugins.
* @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;
abstract class AbstractPlugin implements PluginInterface, CodeGeneratorInterface
{
* @inheritDoc
public final function readyEnabled(): bool
// For plugins, the getReadyScript() is always included in the generated code.
return true;
}
public function readyInlined(): bool
// For plugins, the getReadyScript() can be exported to external files.
return false;
public function getHash(): string
return '';
public function getCss(): string
public function getJs(): string
public function getScript(): string
public function getReadyScript(): string