PHP Class Thumbor\Url\BuilderFactory

global variable $thumbnailUrlFactory = Thumbor\Url\BuilderFactory::construct( 'http://thumbor.example.com', 'secret' ); elsewhere in your app echo $thumbnailUrlFactory ->urlFrom('http://example.com/llamas.jpg') ->fitIn(320, 240) etc ;
Mostrar archivo Open project: 99designs/phumbor Class Usage Examples

Public Methods

Method Description
__construct ( string $server, string | null $secret = null )
construct ( string $server, string | null $secret = null ) : BuilderFactory
url ( string $original ) : Builder

Method Details

__construct() public method

public __construct ( string $server, string | null $secret = null )
$server string
$secret string | null

construct() public static method

public static construct ( string $server, string | null $secret = null ) : BuilderFactory
$server string
$secret string | null
return BuilderFactory

url() public method

public url ( string $original ) : Builder
$original string
return Builder