mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-10-03 09:42:31 +02:00
PSR-0 with tests
This commit is contained in:
11
Composite/InputElement.php
Normal file
11
Composite/InputElement.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Composite;
|
||||
|
||||
class InputElement extends FormElement
|
||||
{
|
||||
public function render()
|
||||
{
|
||||
return '<input type="text" />';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user