| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class BaseAction implements RenderableTag |
||
| 12 | { |
||
| 13 | use Attributes; |
||
|
|
|||
| 14 | use CacheStore; |
||
| 15 | use Expressions; |
||
| 16 | |||
| 17 | protected \DOMNode $node; |
||
| 18 | protected CacheContract $cache; |
||
| 19 | protected string $prefix; |
||
| 20 | protected int $ttl; |
||
| 21 | protected bool $isAnswerable = false; |
||
| 22 | |||
| 23 | 2 | public function __construct(\DOMNode $node, CacheContract $cache, string $prefix, ?int $ttl = null) |
|
| 24 | { |
||
| 25 | 2 | $this->node = $node; |
|
| 26 | 2 | $this->cache = $cache; |
|
| 27 | 2 | $this->prefix = $prefix; |
|
| 28 | 2 | $this->ttl = $ttl; |
|
| 29 | } |
||
| 30 | |||
| 31 | 1 | public function handle(): ?string |
|
| 36 | } |
||
| 37 | |||
| 38 | 1 | protected function shiftCursor(): void |
|
| 47 |