mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
start a restructure
This commit is contained in:
18
Structural/Composite/FormElement.php
Normal file
18
Structural/Composite/FormElement.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Composite;
|
||||
|
||||
/**
|
||||
* Class FormElement
|
||||
*/
|
||||
abstract class FormElement
|
||||
{
|
||||
/**
|
||||
* renders the elements' code
|
||||
*
|
||||
* @param int $indent
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
abstract public function render($indent = 0);
|
||||
}
|
Reference in New Issue
Block a user