src/Environment/DotEnv.php
protected function getFilePath($path, $file)
    {
        if (!is_string($file)) {
            $file   = ".env";
        }

        return rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $file;
    }
protected function getFilePath($path, $file)
    {
        if (!is_string($file)) {
            $file   = ".env";
        }

        return rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $file;
    }
protected function getFilePath ( $ path , $ file ) { if ( ! is_string ( $ file ) ) { $ file = ".env" ; } return rtrim ( $ path , DIRECTORY_SEPARATOR ) . DIRECTORY_SEPARATOR . $ file ; }
Returns the full path to the file.

@param string $path
@param string $file
@return string
Returns the full path to the file .