for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File containing the {@see Mailcode_Commands_Command_ShowVariable} class.
*
* @package Mailcode
* @subpackage Commands
* @see Mailcode_Commands_Command_ShowVariable
*/
declare(strict_types=1);
namespace Mailcode;
* Mailcode command: show a variable value.
* @author Sebastian Mordziol <[email protected]>
class Mailcode_Commands_Command_ShowVariable extends Mailcode_Commands_Command implements Mailcode_Commands_Command_Type_Standalone
{
use Mailcode_Traits_Commands_Validation_Variable;
public function getName() : string
return 'showvar';
}
public function getLabel() : string
return t('Show variable');
public function supportsType(): bool
return false;
public function getDefaultType() : string
return '';
public function requiresParameters(): bool
return true;
public function supportsLogicKeywords() : bool
protected function getValidations() : array
return array('variable');
public function generatesContent() : bool