Skip to content

Commit 5980da9

Browse files
committed
Add PHPDoc documentation to the facade class
1 parent 2ee963d commit 5980da9

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/Facades/QrCode.php

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,38 @@
55
use Illuminate\Support\Facades\Facade;
66
use SimpleSoftwareIO\QrCode\Generator;
77

8+
/**
9+
* @method static void|Illuminate\Support\HtmlString|string generate(string $text, string $filename = null)
10+
* @method static \SimpleSoftwareIO\QrCode\Generator merge(string $filepath, float $percentage = .2, bool $absolute = false)
11+
* @method static \SimpleSoftwareIO\QrCode\Generator mergeString(string $content, float $percentage = .2)
12+
* @method static \SimpleSoftwareIO\QrCode\Generator size(int $pixels)
13+
* @method static \SimpleSoftwareIO\QrCode\Generator format(string $format)
14+
* @method static \SimpleSoftwareIO\QrCode\Generator color(int $red, int $green, int $blue, ?int $alpha = null)
15+
* @method static \SimpleSoftwareIO\QrCode\Generator backgroundColor(int $red, int $green, int $blue, ?int $alpha = null)
16+
* @method static \SimpleSoftwareIO\QrCode\Generator eyeColor(int $eyeNumber, int $innerRed, int $innerGreen, int $innerBlue, int $outterRed = 0, int $outterGreen = 0, int $outterBlue = 0)
17+
* @method static \SimpleSoftwareIO\QrCode\Generator gradient($startRed, $startGreen, $startBlue, $endRed, $endGreen, $endBlue, string $type)
18+
* @method static \SimpleSoftwareIO\QrCode\Generator eye(string $style)
19+
* @method static \SimpleSoftwareIO\QrCode\Generator style(string $style, float $size = 0.5)
20+
* @method static \SimpleSoftwareIO\QrCode\Generator encoding(string $encoding)
21+
* @method static \SimpleSoftwareIO\QrCode\Generator errorCorrection(string $errorCorrection)
22+
* @method static \SimpleSoftwareIO\QrCode\Generator margin(int $margin)
23+
* @method static \BaconQrCode\Writer getWriter(ImageRenderer $renderer)
24+
* @method static \BaconQrCode\ImageRenderer getRenderer()
25+
* @method static \BaconQrCode\Renderer\RendererStyle\RendererStyle getRendererSytle()
26+
* @method static \BaconQrCode\Renderer\Image\ImageBackEndInterface getFormatter()
27+
* @method static \BaconQrCode\Renderer\Module\ModuleInterface getModule()
28+
* @method static \BaconQrCode\Renderer\Eye\EyeInterface getEye()
29+
* @method static \BaconQrCode\Renderer\RendererStyle\Fill getFill()
30+
* @method static \BaconQrCode\Renderer\Color\ColorInterface createColor(int $red, int $green, int $blue, ?int $alpha = null)
31+
* @method static void|Illuminate\Support\HtmlString|string BTC(string $address, string $amount, array $option = null)
32+
* @method static void|Illuminate\Support\HtmlString|string Email(string $email, string $subject, string $body)
33+
* @method static void|Illuminate\Support\HtmlString|string Geo(float $latitude, float $longitude)
34+
* @method static void|Illuminate\Support\HtmlString|string PhoneNumber(string $phoneNumber)
35+
* @method static void|Illuminate\Support\HtmlString|string SMS(string $phoneNumber, string $message)
36+
* @method static void|Illuminate\Support\HtmlString|string WiFi(string $phoneNumber, string $message)
37+
*
38+
* @see \SimpleSoftwareIO\QrCode\Generator
39+
*/
840
class QrCode extends Facade
941
{
1042
/**

0 commit comments

Comments
 (0)