<?php
/**
* AbstractCodegenerator.php
*
* Generic interface for code generators.
*
* @package jaxon-core
* @author Thierry Feuzeu <thierry.feuzeu@gmail.com>
* @copyright 2025 Thierry Feuzeu <thierry.feuzeu@gmail.com>
* @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\Plugin\Code\JsCode;
abstract class AbstractCodeGenerator implements CodeGeneratorInterface
{
/**
* @inheritDoc
*/
public function getHash(): string
{
return '';
}
/**
* @inheritDoc
*/
public function getCss(): string
{
return '';
}
/**
* @inheritDoc
*/
public function getJs(): string
{
return '';
}
/**
* @inheritDoc
*/
public function getScript(): string
{
return '';
}
/**
* @inheritDoc
*/
public function getJsCode(): ?JsCode
{
return null;
}
}
|