PHP Class Thumbor\Url\Builder
Example usage:
$server = 'http://thumbor.example.com';
$secret = 'my-secret-key';
Thumbor\UrlBuilder::construct($server, $secret, 'http://images.example.com/llamas.jpg')
Apply commands
->fitIn(320, 240)
Add filters
->addFilter('brightness', 42)
Construct and return Url
->build();
If you coerce an instance of this class to String, you get the string
representation of the URL.
See https://github.com/globocom/thumbor/wiki/Usage for all available options.
Show file
Open project: 99designs/phumbor
Class Usage Examples
Public Methods
Method Details
Proxy remaining method calls to CommandSet
public __call ( $method, $args ) |
__construct()
public method
__toString()
public method
construct()
public static method
public static construct ( $server, $secret, $original ) |