shop changes
This commit is contained in:
27
vendor/open-function-computers-llc/rad-theme-engine/src/RadAction.php
vendored
Normal file
27
vendor/open-function-computers-llc/rad-theme-engine/src/RadAction.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace ofc;
|
||||
|
||||
abstract class RadAction implements RadActionInterface
|
||||
{
|
||||
protected string $hookName;
|
||||
protected int $priority = 99;
|
||||
protected bool $wrapInit = false;
|
||||
|
||||
public function getHookName(): string
|
||||
{
|
||||
return $this->hookName;
|
||||
}
|
||||
|
||||
public function getPriority(): int
|
||||
{
|
||||
return $this->priority;
|
||||
}
|
||||
|
||||
public function wrapHookInInit(): bool
|
||||
{
|
||||
return $this->wrapInit;
|
||||
}
|
||||
|
||||
abstract public function callback();
|
||||
}
|
||||
Reference in New Issue
Block a user