for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File containing the {@see Mailcode_Commands_Command_ShowSnippet} class.
*
* @package Mailcode
* @subpackage Commands
* @see Mailcode_Commands_Command_ShowSnippet
*/
declare(strict_types=1);
namespace Mailcode;
* Mailcode command: show a variable value.
* @author Sebastian Mordziol <[email protected]>
class Mailcode_Commands_Command_ShowSnippet extends Mailcode_Commands_ShowBase
{
public function getName() : string
return 'showsnippet';
}
public function getLabel() : string
return t('Show text snippet');
protected function getValidations() : array
return array(
'variable',
'urlencode'
);
public function generatesContent() : bool
return true;