for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* @author : Jagepard <[email protected]>
* @license https://mit-license.org/ MIT
*/
namespace Structural\Decorator;
abstract class AbstractComponent
{
protected array $data = [];
public function __construct(string $key, string $value)
$this->data[$key] = $value;
}
abstract public function getData(): array;