luya\base\Boot::getSapiName PHP Method

getSapiName() public method

Returns the current sapi name in lower case.
public getSapiName ( ) : string
return string e.g. cli or web
    public function getSapiName()
    {
        return strtolower(php_sapi_name());
    }