public function getShortDescription(): string
    {
        $commandMethodReflection = $this->getCommandMethodReflection();
        $lines = explode(chr(10), $commandMethodReflection->getDescription());
        $shortDescription = ((count($lines) > 0) ? trim($lines[0]) : '<no description available>') . ($this->isDeprecated() ? ' <b>(DEPRECATED)</b>' : '');

        if ($commandMethodReflection->getDeclaringClass()->implementsInterface(DescriptionAwareCommandControllerInterface::class)) {
            $shortDescription = call_user_func([$this->controllerClassName, 'processDescription'], $this->controllerCommandName, $shortDescription, $this->objectManager);
        }
        return $shortDescription;
    }
public function getShortDescription(): string
    {
        $commandMethodReflection = $this->getCommandMethodReflection();
        $lines = explode(chr(10), $commandMethodReflection->getDescription());
        $shortDescription = ((count($lines) > 0) ? trim($lines[0]) : '<no description available>') . ($this->isDeprecated() ? ' <b>(DEPRECATED)</b>' : '');

        if ($commandMethodReflection->getDeclaringClass()->implementsInterface(DescriptionAwareCommandControllerInterface::class)) {
            $shortDescription = call_user_func([$this->controllerClassName, 'processDescription'], $this->controllerCommandName, $shortDescription, $this->objectManager);
        }
        return $shortDescription;
    }
public function getShortDescription ( ) : string { $ commandMethodReflection = $ this -> getCommandMethodReflection ( ) ; $ lines = explode ( chr ( 10 ) , $ commandMethodReflection -> getDescription ( ) ) ; $ shortDescription = ( ( count ( $ lines ) > 0 ) ? trim ( $ lines [ 0 ] ) : '<no description available>' ) . ( $ this -> isDeprecated ( ) ? ' <b>(DEPRECATED)</b>' : '' ) ; if ( $ commandMethodReflection -> getDeclaringClass ( ) -> implementsInterface ( DescriptionAwareCommandControllerInterface :: class ) ) { $ shortDescription = call_user_func ( [ $ this -> controllerClassName , 'processDescription' ] , $ this -> controllerCommandName , $ shortDescription , $ this -> objectManager ) ; } return $ shortDescription ; }
Returns a short description of this command

@return string A short description
Returns a short description of this command