Eloquent\Phony\Reflection\FeatureDetector::runtime PHP Method

runtime() public method

Determine the current PHP runtime.
public runtime ( ) : string
return string The runtime.
    public function runtime()
    {
        if (!$this->runtime) {
            if (false === strpos(phpversion(), 'hhvm')) {
                $this->runtime = 'php';
            } else {
                $this->runtime = 'hhvm';
                // @codeCoverageIgnore
            }
        }
        return $this->runtime;
    }