Sulu: Add VERSION constant

Created on 4 Mar 2016  路  3Comments  路  Source: sulu/sulu

If you create a bundle and want to support multiple versions of sulu you sometimes need to check for specific versions and e.g. register other services.

DX

Most helpful comment

Rather than adding the overhead of having to maintain the contant value, we could consider making use of composer: https://github.com/Ocramius/PackageVersions

All 3 comments

Rather than adding the overhead of having to maintain the contant value, we could consider making use of composer: https://github.com/Ocramius/PackageVersions

PackageVersions is awesome, but PHP 7 only :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MichelFalke picture MichelFalke  路  5Comments

sagikazarmark picture sagikazarmark  路  8Comments

alexandrin-rus picture alexandrin-rus  路  4Comments

lightglitch picture lightglitch  路  11Comments

mtnorthrop picture mtnorthrop  路  6Comments