PHP Class Faster_Image_B52f1a8_Faster_Image, amp-wp
Based on the PHP stream implementation by Tom Moor (http://tommoor.com)
which was based on the original Ruby Implementation by Steven Sykes
(https://github.com/sdsykes/fastimage)
MIT Licensed
Show file
Open project: Automattic/amp-wp
Class Usage Examples
Protected Properties
Public Methods
Protected Methods
Method |
Description |
|
handle ( $url, &$result ) : resource |
Create the handle for the curl request |
|
Method Details
__construct()
public method
Get the size of each of the urls in a list
handle()
protected method
Create the handle for the curl request
protected handle ( $url, &$result ) : resource |
$url |
|
|
$result |
|
|
return |
resource |
|
setTimeout()
public method
Property Details
$timeout protected property
protected int $timeout |
return |
integer |
|