32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) 2013-2016
|
|
*
|
|
* @category Library
|
|
* @package Dwoo
|
|
* @author Jordi Boggiano <j.boggiano@seld.be>
|
|
* @author David Sanchez <david38sanchez@gmail.com>
|
|
* @copyright 2008-2013 Jordi Boggiano
|
|
* @copyright 2013-2016 David Sanchez
|
|
* @license http://dwoo.org/LICENSE Modified BSD License
|
|
* @version 1.3.0
|
|
* @date 2016-09-23
|
|
* @link http://dwoo.org/
|
|
*/
|
|
|
|
namespace Dwoo;
|
|
|
|
/**
|
|
* Interface that represents a compilable plugin.
|
|
* implement this to notify the compiler that this plugin does not need to be loaded at runtime.
|
|
* to implement it right, you must implement <em>public static function compile(Compiler $compiler, $arg, $arg,
|
|
* ...)</em>, which replaces the <em>process()</em> method (that means <em>compile()</em> should have all arguments it
|
|
* requires). This software is provided 'as-is', without any express or implied warranty. In no event will the authors
|
|
* be held liable for any damages arising from the use of this software.
|
|
*/
|
|
interface ICompilable
|
|
{
|
|
// this replaces the process function
|
|
//public static function compile(Compiler $compiler, $arg, $arg, ...);
|
|
}
|