src/Utility/Toolbar.php
public static function getInstance($name = self::DEFAULT_NAME)
    {
        if (empty(self::$_instances[$name])) {
            self::$_instances[$name] = new Toolbar($name);
        }

        return self::$_instances[$name];
    }
public static function getInstance($name = self::DEFAULT_NAME)
    {
        if (empty(self::$_instances[$name])) {
            self::$_instances[$name] = new Toolbar($name);
        }

        return self::$_instances[$name];
    }
public static function getInstance ( $ name = self :: DEFAULT_NAME ) { if ( empty ( self :: $ _instances [ $ name ] ) ) { self :: $ _instances [ $ name ] = new Toolbar ( $ name ) ; } return self :: $ _instances [ $ name ] ; }
Get toolbar instance.

@param string $name
@return array|Toolbar
Get toolbar instance .