62 $resultItems = $resultActions =
'';
78 false, get_called_class()
108 return $resultItems . PHP_EOL . $resultActions;
126 foreach (
$bearsamppBins->getMailhog()->getVersionList() as $version) {
128 self::ACTION_SWITCH_VERSION, array($version),
130 false, get_called_class()
140 return $items . $actions;
196 self::ACTION_CHANGE_PORT,
null,
198 false, get_called_class()
201 $isInstalled =
$bearsamppBins->getMailhog()->getService()->isInstalled();
216 self::ACTION_INSTALL_SERVICE,
null,
218 $isInstalled, get_called_class()
225 self::ACTION_REMOVE_SERVICE,
null,
227 !$isInstalled, get_called_class()
const MENU_INSTALL_SERVICE
const MENU_UPDATE_ENV_PATH
const MENU_REMOVE_SERVICE
const GLYPH_SERVICE_REMOVE
static getItemActionServiceStop($service)
static getItemSeparator()
static getItemActionServiceStart($service)
static getItemActionServiceRestart($service)
static getItemLink($caption, $link, $local=false, $glyph=self::GLYPH_WEB_PAGE)
static getItemExe($caption, $exe, $glyph, $params=null)
const GLYPH_SERVICE_INSTALL
static getItemNotepad($caption, $path)
static getActionInstallMailhogService()
const ACTION_SWITCH_VERSION
static getActionSwitchMailhogVersion($version)
const ACTION_INSTALL_SERVICE
static getMenuMailhogService()
static getActionRemoveMailhogService()
static getMenuMailhogVersions()
const ACTION_REMOVE_SERVICE
static getActionChangeMailhogPort()
static getActionEnableMailhog($enable)
static getActionMulti($action, $args=array(), $item=array(), $disabled=false, $class=false)
static getMenuEnable($caption, $menu, $class, $enabled=true)
static getActionRun($action, $args=array(), $item=array(), $waitUntilTerminated=true)
static getMenu($caption, $menu, $class)
static getWebsiteUrl($path='', $fragment='', $utmSource=true)