$environment->scriptPath()
Returns the path to the php script within the document root without the filename of the script.
$environment->scriptPath(): string
Return type
string
This method modifies the existing $environment
object it is applied to and returns it again.