-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Adapater and Additional Facade (#14)
- Loading branch information
1 parent
92673e5
commit df71fb3
Showing
4 changed files
with
101 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?php | ||
|
||
namespace Meema\LaravelMeema\Facades; | ||
|
||
use Illuminate\Support\Facades\Facade; | ||
|
||
/** | ||
* @method static function w($value) | ||
* @method static function h($value) | ||
* @method static function q($value) | ||
* @method static function blur($value) | ||
* @method static function nsfw($value) | ||
* @method static function bg($value) | ||
* @method static function ar($value) | ||
* @method static function br($value) | ||
* @method static function hue($value) | ||
* @method static function sat($value) | ||
* @method static function sharp($value) | ||
* @method static function pad($value) | ||
* @method static function greyscale($value) | ||
* @method static function trim($value) | ||
* @method static function faceindex($value) | ||
* @method static function fillColor($value) | ||
* @method static function fill($value) | ||
* @method static function cs($value) | ||
* @method static function dpr($value) | ||
* @method static function extend($value) | ||
* @method static function extract($value) | ||
* @method static function crop($value) | ||
* @method static function maxH($value) | ||
* @method static function minH($value) | ||
* @method static function maxW($value) | ||
* @method static function minW($value) | ||
* @method static function fit($value) | ||
* @method static function px($value) | ||
* | ||
* @see \Meema\MeemaClient\Functions\Image | ||
*/ | ||
class Image extends Facade | ||
{ | ||
/** | ||
* Get the registered name of the component. | ||
* | ||
* @return string | ||
*/ | ||
protected static function getFacadeAccessor() | ||
{ | ||
return 'meema-image'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
namespace Meema\LaravelMeema\Facades; | ||
|
||
use Illuminate\Support\Facades\Facade; | ||
|
||
/** | ||
* @method static function thumbnails($value) | ||
* @method static function hls($value) | ||
* @method static function dash($value) | ||
* @method static function poster($value) | ||
* @method static function webvtt($value) | ||
* @method static function format($value) | ||
* @method static function webOptimized($value) | ||
* | ||
* @see \Meema\MeemaClient\Functions\Video | ||
*/ | ||
class Video extends Facade | ||
{ | ||
/** | ||
* Get the registered name of the component. | ||
* | ||
* @return string | ||
*/ | ||
protected static function getFacadeAccessor() | ||
{ | ||
return 'meema-video'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters