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 Description
__call ( $method, $args ) Proxy remaining method calls to CommandSet
__construct ( $server, $secret, $original )
__toString ( )
build ( )
construct ( $server, $secret, $original )

Method Details

__call() public method

Proxy remaining method calls to CommandSet
public __call ( $method, $args )

__construct() public method

public __construct ( $server, $secret, $original )

__toString() public method

public __toString ( )

build() public method

public build ( )

construct() public static method

public static construct ( $server, $secret, $original )