public function inflectPackageVars($vars)
    {
        if ($vars['type'] == 'sydes-module') {
            return $this->inflectModuleVars($vars);
        }

        if ($vars['type'] === 'sydes-theme') {
            return $this->inflectThemeVars($vars);
        }

        return $vars;
    }
public function inflectPackageVars($vars)
    {
        if ($vars['type'] == 'sydes-module') {
            return $this->inflectModuleVars($vars);
        }

        if ($vars['type'] === 'sydes-theme') {
            return $this->inflectThemeVars($vars);
        }

        return $vars;
    }
public function inflectPackageVars ( $ vars ) { if ( $ vars [ 'type' ] == 'sydes-module' ) { return $ this -> inflectModuleVars ( $ vars ) ; } if ( $ vars [ 'type' ] === 'sydes-theme' ) { return $ this -> inflectThemeVars ( $ vars ) ; } return $ vars ; }
Format module name.

Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present.

@param array @vars

@return array
Format module name .