| Total Complexity | 8 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class FoxyLinkGeneratorController extends Controller |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * |
||
| 17 | */ |
||
| 18 | const URLSEGMENT = 'foxylinkgenerator'; // phpcs:ignore PSR12.Properties.ConstantVisibility.NotFound |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | private static $allowed_actions = [ |
||
|
|
|||
| 24 | 'index', |
||
| 25 | ]; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getURLSegment() |
||
| 31 | { |
||
| 32 | return self::URLSEGMENT; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | * @throws ValidationException |
||
| 38 | */ |
||
| 39 | public function index() |
||
| 68 | } |
||
| 69 | } |
||
| 70 |