also looking at this
Implement Adapater and Additional Facade
#14
4 files
+101
-4
| @@ -0,0 +1,50 @@ | ||
| 1 | <?php | |
| 2 | ||
| 3 | namespace Meema\LaravelMeema\Facades; | |
| 4 | ||
| 5 | use Illuminate\Support\Facades\Facade; | |
| 6 | ||
| 7 | /** | |
| 8 | * @method static function w($value) | |
| 9 | * @method static function h($value) | |
| 10 | * @method static function q($value) | |
| 11 | * @method static function blur($value) | |
| 12 | * @method static function nsfw($value) | |
| 13 | * @method static function bg($value) | |
| 14 | * @method static function ar($value) | |
| 15 | * @method static function br($value) | |
| 16 | * @method static function hue($value) | |
| 17 | * @method static function sat($value) | |
| 18 | * @method static function sharp($value) | |
| 19 | * @method static function pad($value) | |
| 20 | * @method static function greyscale($value) | |
| 21 | * @method static function trim($value) | |
| 22 | * @method static function faceindex($value) | |
| 23 | * @method static function fillColor($value) | |
| 24 | * @method static function fill($value) | |
| 25 | * @method static function cs($value) | |
| 26 | * @method static function dpr($value) | |
| 27 | * @method static function extend($value) | |
| 28 | * @method static function extract($value) | |
| 29 | * @method static function crop($value) | |
| 30 | * @method static function maxH($value) | |
| 31 | * @method static function minH($value) | |
| 32 | * @method static function maxW($value) | |
| 33 | * @method static function minW($value) | |
| 34 | * @method static function fit($value) | |
| 35 | * @method static function px($value) | |
| 36 | * | |
| 37 | * @see \Meema\MeemaClient\Functions\Image | |
| 38 | */ | |
| 39 | class Image extends Facade | |
| 40 | { | |
| 41 | /** | |
| 42 | * Get the registered name of the component. | |
| 43 | * | |
| 44 | * @return string | |
| 45 | */ | |
| 46 | protected static function getFacadeAccessor() | |
| 47 | { | |
| 48 | return 'meema-image'; | |
| 49 | } | |
| 50 | } | |