public function getShortName(): string
    {
        if (empty($this->shortName)) {
            $name = strtolower($this->getName());
            $replaced = preg_replace('|bundle$|', '', $name);

            $this->shortName = trim($replaced);
        }

        return $this->shortName;
    }
public function getShortName(): string
    {
        if (empty($this->shortName)) {
            $name = strtolower($this->getName());
            $replaced = preg_replace('|bundle$|', '', $name);

            $this->shortName = trim($replaced);
        }

        return $this->shortName;
    }
public function getShortName ( ) : string { if ( empty ( $ this -> shortName ) ) { $ name = strtolower ( $ this -> getName ( ) ) ; $ replaced = preg_replace ( '|bundle$|' , '' , $ name ) ; $ this -> shortName = trim ( $ replaced ) ; } return $ this -> shortName ; }
Returns short, simple name of bundle

@return string
Returns short simple name of bundle