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