Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add PHPDoc hints to facade #474

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/Facades/SnappyPdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@
* @method static \Illuminate\Http\Response download($filename = 'document.pdf')
* @method static \Illuminate\Http\Response inline($filename = 'document.pdf')
*
* @method static \Barryvdh\Snappy\PdfFaker ensureResponseHasView() Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertViewIs(string $value) Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertViewHas(string|array $key, mixed $value = null) Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertViewHasAll(array $bindings) Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertViewMissing(string $key) Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertSee(string $value) Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertSeeText(string $value) Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertDontSee(string $value) Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertDontSeeText(string $value) Only available when using ::fake()
* @method static \Barryvdh\Snappy\PdfFaker assertFileNameIs(string $value) Only available when using ::fake()
*/
class SnappyPdf extends BaseFacade {

Expand Down