for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* 雪花算法 Facade
*
* @author herry@<[email protected]>
* @version 1.0
* @copyright © 2020 MuCTS.com All Rights Reserved.
*/
namespace MuCTS\Laravel\Snowflake\Facades;
use Illuminate\Support\Facades\Facade;
* Class Snowflake
* @method static string next()
* @method static \Illuminate\Support\Collection info(string $snowflakeId)
* @method static \MuCTS\Laravel\Snowflake\Snowflake setTwEpoch($twEpoch)
* @method static \MuCTS\Laravel\Snowflake\Snowflake setWorkerId(?int $workerId)
* @method static \MuCTS\Laravel\Snowflake\Snowflake setDataCenterId(?int $dataCenterId)
* @package MuCTS\Laravel\Snowflake\Facades
class Snowflake extends Facade
{
protected static function getFacadeAccessor()
return 'snowflake';
}