Update
This commit is contained in:
28
src/Facades/Crawlshot.php
Normal file
28
src/Facades/Crawlshot.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Crawlshot\Laravel\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* @method static array createCrawl(string $url, array $options = [])
|
||||
* @method static array getCrawlStatus(string $uuid)
|
||||
* @method static array listCrawls()
|
||||
* @method static array createShot(string $url, array $options = [])
|
||||
* @method static array getShotStatus(string $uuid)
|
||||
* @method static string downloadShot(string $uuid)
|
||||
* @method static array listShots()
|
||||
* @method static array health()
|
||||
*
|
||||
* @see \Crawlshot\Laravel\CrawlshotClient
|
||||
*/
|
||||
class Crawlshot extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*/
|
||||
protected static function getFacadeAccessor(): string
|
||||
{
|
||||
return 'crawlshot';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user