src/Joomlatools/Console/Joomla/Application.php
public function getName()
    {
        $name = '';

        switch ($this->_clientId)
        {
            case Bootstrapper::SITE:
                $name = 'site';
                break;
            case Bootstrapper::ADMIN:
                $name = 'administrator';
                break;
            default:
                $name = 'cli';
                break;
        }

        return $name;
    }
public function getName()
    {
        $name = '';

        switch ($this->_clientId)
        {
            case Bootstrapper::SITE:
                $name = 'site';
                break;
            case Bootstrapper::ADMIN:
                $name = 'administrator';
                break;
            default:
                $name = 'cli';
                break;
        }

        return $name;
    }
public function getName ( ) { $ name = '' ; switch ( $ this -> _clientId ) { case Bootstrapper :: SITE : $ name = 'site' ; break ; case Bootstrapper :: ADMIN : $ name = 'administrator' ; break ; default : $ name = 'cli' ; break ; } return $ name ; }
Get the current application name.

@return string
Get the current application name .