public function getName() {
        foreach ($this->config['commands'] as $command => $details) {
            if (strpos($details['class'], get_class($this)) !== false) {
                return $command;
            }
        }

        return '';
    }
public function getName() {
        foreach ($this->config['commands'] as $command => $details) {
            if (strpos($details['class'], get_class($this)) !== false) {
                return $command;
            }
        }

        return '';
    }
public function getName ( ) { foreach ( $ this -> config [ 'commands' ] as $ command => $ details ) { if ( strpos ( $ details [ 'class' ] , get_class ( $ this ) ) !== false ) { return $ command ; } } return '' ; }
Get command name

@return string
Get command name