PHP Classes

File: src/PatchAutoloadFunctions.php

Recommend this page to a friend!
  Classes of Till Wehowski   PHP Proxy Server Script   src/PatchAutoloadFunctions.php   Download  
File: src/PatchAutoloadFunctions.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Proxy Server Script
Forward HTTP requests to other servers as a proxy
Author: By
Last change:
Date: 3 years ago
Size: 617 bytes


Class file image Download
namespace frdl\Proxy;
* Patch if using frdl/remote-psr4

class PatchAutoloadFunctions
  public function
$l[]=!function_exists('\GuzzleHttp\Psr7\uri_for') && class_exists(\GuzzleHttp\Psr7\Functions::class) && \GuzzleHttp\Psr7\Functions::load;
$l[]= !function_exists('\GuzzleHttp\Promise\promise_for') && class_exists(\GuzzleHttp\Promise\Functions::class) && \GuzzleHttp\Promise\Functions::load;
$l[]= !function_exists('\GuzzleHttp\uri_template') && class_exists(\GuzzleHttp\Functions::class) && \GuzzleHttp\Functions::load;