LeKoala\DebugBar\Collector\PhpInfoCollector
Extends the default PhpInfoCollector to trim long PHP version numbers
Synopsis
class PhpInfoCollector
extends PhpInfoCollector
{
- // methods
- public void collect()
- protected string trimVersion()
Hierarchy
Extends
- DebugBar\DataCollector\PhpInfoCollector
Methods
protected
- trimVersion() — Given a PHP_VERSION constant value, trim any "extra" meta information from the end, returning the major, minor and patch release of the version. Will fall back to returning the input if the matching fails.