Pimcore\Version::getVersion PHP Метод

getVersion() публичный статический Метод

public static getVersion ( ) : string
Результат string
    public static function getVersion()
    {
        return self::$version;
    }

Usage Example

Пример #1
0
 /**
  * Constructor.
  *
  * @param string $name The name of the application
  * @param string $version The version of the application
  *
  * @api
  */
 public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
 {
     parent::__construct('Pimcore CLI', Version::getVersion());
     // init default autoload namespaces
     $this->initDefaultAutoloadNamespaces();
     // allow to register commands here (e.g. through plugins)
     \Pimcore::getEventManager()->trigger('system.console.init', $this);
 }
All Usage Examples Of Pimcore\Version::getVersion