Crypt
class Crypt extends Facade (View source)
Properties
static protected Application|null | $app | The application instance being facaded. |
from Facade |
static protected array | $resolvedInstance | The resolved object instances. |
from Facade |
static protected bool | $cached | Indicates if the resolved instance should be cached. |
from Facade |
Methods
static void
from
Facade
static MockInterface
createFreshMockInstance()
Create a fresh mock instance for the given class.
from
Facade
static string
getFacadeAccessor()
Get the registered name of the component.
static mixed
resolveFacadeInstance(string $name)
Resolve the facade root instance from the container.
from
Facade
static Application|null
getFacadeApplication()
Get the application instance behind the facade.
from
Facade
static mixed
__callStatic(string $method, array $args)
Handle dynamic, static calls to the object.
from
Facade
static bool
supported(string $key, string $cipher)
No description
static string
generateKey(string $cipher)
No description
static string
encrypt(mixed $value, bool $serialize = true)
No description
static string
encryptString(string $value)
No description
static mixed
decrypt(string $payload, bool $unserialize = true)
No description
static string
decryptString(string $payload)
No description
static string
getKey()
No description
static array
getAllKeys()
No description
static array
getPreviousKeys()
No description
static Encrypter
previousKeys(array $keys)
No description
Details
in
Facade at line 47
static void
resolved(Closure $callback)
Run a Closure when the facade has been resolved.
static protected MockInterface
createFreshMockInstance()
Create a fresh mock instance for the given class.
static protected mixed
resolveFacadeInstance(string $name)
Resolve the facade root instance from the container.