53 lines
1.2 KiB
PHP
53 lines
1.2 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* @package Joomla.Component.Builder
|
||
|
*
|
||
|
* @created 4th September, 2022
|
||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
||
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
namespace VDM\Joomla\Componentbuilder\Compiler\Builder;
|
||
|
|
||
|
|
||
|
use VDM\Joomla\Componentbuilder\Interfaces\Mapperdoubleinterface;
|
||
|
use VDM\Joomla\Componentbuilder\Abstraction\MapperDouble;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Permission Global Action Builder Class
|
||
|
*
|
||
|
* @since 3.2.0
|
||
|
*/
|
||
|
final class PermissionGlobalAction extends MapperDouble implements Mapperdoubleinterface
|
||
|
{
|
||
|
/**
|
||
|
* Model the first key
|
||
|
*
|
||
|
* @param string $key The first key to model
|
||
|
*
|
||
|
* @return string
|
||
|
* @since 3.2.0
|
||
|
*/
|
||
|
protected function firstKey(string $key): string
|
||
|
{
|
||
|
return $key;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Model the second key
|
||
|
*
|
||
|
* @param string $key The second key to model
|
||
|
*
|
||
|
* @return string
|
||
|
* @since 3.2.0
|
||
|
*/
|
||
|
protected function secondKey(string $key): string
|
||
|
{
|
||
|
return $key;
|
||
|
}
|
||
|
}
|
||
|
|