mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
32 lines
806 B
PHP
32 lines
806 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Facades;
|
|
|
|
use App\Services\YencService;
|
|
use Illuminate\Support\Facades\Facade;
|
|
|
|
/**
|
|
* Yenc Facade
|
|
*
|
|
* @method static string|false decode(string &$text, bool $ignore = false)
|
|
* @method static string decodeIgnore(string &$text)
|
|
* @method static bool enabled()
|
|
* @method static bool isYencEncoded(string $text)
|
|
* @method static string encode(string $data, string $filename, int $lineLength = 128, bool $includeCrc32 = true)
|
|
* @method static array|null extractMetadata(string $text)
|
|
*
|
|
* @see YencService
|
|
*/
|
|
class Yenc extends Facade // @phpstan-ignore missingType.iterableValue
|
|
{
|
|
/**
|
|
* Get the registered name of the component.
|
|
*/
|
|
protected static function getFacadeAccessor(): string
|
|
{
|
|
return YencService::class;
|
|
}
|
|
}
|