Skip to content

Commit 8f82631

Browse files
committed
updating ide helper
1 parent b1f4b94 commit 8f82631

File tree

1 file changed

+140
-0
lines changed

1 file changed

+140
-0
lines changed

_ide_helper.php

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6345,6 +6345,145 @@ public static function flushMacros()
63456345

63466346
}
63476347
/**
6348+
*
6349+
*
6350+
* @see \Illuminate\Encryption\Encrypter
6351+
*/
6352+
class Crypt {
6353+
/**
6354+
* Determine if the given key and cipher combination is valid.
6355+
*
6356+
* @param string $key
6357+
* @param string $cipher
6358+
* @return bool
6359+
* @static
6360+
*/
6361+
public static function supported($key, $cipher)
6362+
{
6363+
return \Illuminate\Encryption\Encrypter::supported($key, $cipher);
6364+
}
6365+
6366+
/**
6367+
* Create a new encryption key for the given cipher.
6368+
*
6369+
* @param string $cipher
6370+
* @return string
6371+
* @static
6372+
*/
6373+
public static function generateKey($cipher)
6374+
{
6375+
return \Illuminate\Encryption\Encrypter::generateKey($cipher);
6376+
}
6377+
6378+
/**
6379+
* Encrypt the given value.
6380+
*
6381+
* @param mixed $value
6382+
* @param bool $serialize
6383+
* @return string
6384+
* @throws \Illuminate\Contracts\Encryption\EncryptException
6385+
* @static
6386+
*/
6387+
public static function encrypt($value, $serialize = true)
6388+
{
6389+
/** @var \Illuminate\Encryption\Encrypter $instance */
6390+
return $instance->encrypt($value, $serialize);
6391+
}
6392+
6393+
/**
6394+
* Encrypt a string without serialization.
6395+
*
6396+
* @param string $value
6397+
* @return string
6398+
* @throws \Illuminate\Contracts\Encryption\EncryptException
6399+
* @static
6400+
*/
6401+
public static function encryptString($value)
6402+
{
6403+
/** @var \Illuminate\Encryption\Encrypter $instance */
6404+
return $instance->encryptString($value);
6405+
}
6406+
6407+
/**
6408+
* Decrypt the given value.
6409+
*
6410+
* @param string $payload
6411+
* @param bool $unserialize
6412+
* @return mixed
6413+
* @throws \Illuminate\Contracts\Encryption\DecryptException
6414+
* @static
6415+
*/
6416+
public static function decrypt($payload, $unserialize = true)
6417+
{
6418+
/** @var \Illuminate\Encryption\Encrypter $instance */
6419+
return $instance->decrypt($payload, $unserialize);
6420+
}
6421+
6422+
/**
6423+
* Decrypt the given string without unserialization.
6424+
*
6425+
* @param string $payload
6426+
* @return string
6427+
* @throws \Illuminate\Contracts\Encryption\DecryptException
6428+
* @static
6429+
*/
6430+
public static function decryptString($payload)
6431+
{
6432+
/** @var \Illuminate\Encryption\Encrypter $instance */
6433+
return $instance->decryptString($payload);
6434+
}
6435+
6436+
/**
6437+
* Get the encryption key that the encrypter is currently using.
6438+
*
6439+
* @return string
6440+
* @static
6441+
*/
6442+
public static function getKey()
6443+
{
6444+
/** @var \Illuminate\Encryption\Encrypter $instance */
6445+
return $instance->getKey();
6446+
}
6447+
6448+
/**
6449+
* Get the current encryption key and all previous encryption keys.
6450+
*
6451+
* @return array
6452+
* @static
6453+
*/
6454+
public static function getAllKeys()
6455+
{
6456+
/** @var \Illuminate\Encryption\Encrypter $instance */
6457+
return $instance->getAllKeys();
6458+
}
6459+
6460+
/**
6461+
* Get the previous encryption keys.
6462+
*
6463+
* @return array
6464+
* @static
6465+
*/
6466+
public static function getPreviousKeys()
6467+
{
6468+
/** @var \Illuminate\Encryption\Encrypter $instance */
6469+
return $instance->getPreviousKeys();
6470+
}
6471+
6472+
/**
6473+
* Set the previous / legacy encryption keys that should be utilized if decryption fails.
6474+
*
6475+
* @param array $keys
6476+
* @return \Illuminate\Encryption\Encrypter
6477+
* @static
6478+
*/
6479+
public static function previousKeys($keys)
6480+
{
6481+
/** @var \Illuminate\Encryption\Encrypter $instance */
6482+
return $instance->previousKeys($keys);
6483+
}
6484+
6485+
}
6486+
/**
63486487
*
63496488
*
63506489
* @see https://carbon.nesbot.com/docs/
@@ -22320,6 +22459,7 @@ class Concurrency extends \Illuminate\Support\Facades\Concurrency {}
2232022459
class Config extends \Illuminate\Support\Facades\Config {}
2232122460
class Context extends \Illuminate\Support\Facades\Context {}
2232222461
class Cookie extends \Illuminate\Support\Facades\Cookie {}
22462+
class Crypt extends \Illuminate\Support\Facades\Crypt {}
2232322463
class Date extends \Illuminate\Support\Facades\Date {}
2232422464
class DB extends \Illuminate\Support\Facades\DB {}
2232522465

0 commit comments

Comments
 (0)