for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BeyondCode\TagHelper;
use BeyondCode\TagHelper\Html\HtmlElement;
abstract class Helper
{
/** @var string */
protected $targetElement = '*';
protected $targetAttribute = null;
public function getTargetElement(): string
return $this->targetElement;
}
public function getTargetAttribute(): ?string
return $this->targetAttribute;
abstract public function process(HtmlElement $element);