for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File containing the {@see Mailcode_Commands_Command_Else} class.
*
* @package Mailcode
* @subpackage Commands
* @see Mailcode_Commands_Command_Else
*/
declare(strict_types=1);
namespace Mailcode;
* Mailcode command: An ELSE statement in an IF condition.
* @author Sebastian Mordziol <[email protected]>
class Mailcode_Commands_Command_Else extends Mailcode_Commands_Command implements Mailcode_Commands_Command_Type_Sibling
{
public function getName() : string
return 'else';
}
public function getLabel() : string
return t('ELSE condition');
public function supportsType(): bool
return false;
public function getDefaultType() : string
return '';
public function requiresParameters(): bool
public function supportsLogicKeywords() : bool
public function generatesContent(): bool
protected function getValidations(): array
return array();
public function getParentName() : string
return 'if';