BaseHandler
in package
implements
EncrypterInterface
Base class for encryption handling
Interfaces, Classes and Traits
- EncrypterInterface
- CodeIgniter Encryption Handler
Table of Contents
- $logger : LoggerInterface
- Logger instance to record error messages and warnings.
- __construct() : mixed
- Constructor
- __get() : mixed
- __get() magic, providing readonly access to some of our properties
- __isset() : bool
- __isset() magic, providing checking for some of our properties
- substr() : string
- Byte-safe substr()
Properties
$logger
Logger instance to record error messages and warnings.
protected
LoggerInterface
$logger
Methods
__construct()
Constructor
public
__construct([Encryption|null $config = null ]) : mixed
Parameters
- $config : Encryption|null = null
Return values
mixed —__get()
__get() magic, providing readonly access to some of our properties
public
__get(string $key) : mixed
Parameters
- $key : string
-
Property name
Return values
mixed —__isset()
__isset() magic, providing checking for some of our properties
public
__isset(string $key) : bool
Parameters
- $key : string
-
Property name
Return values
bool —substr()
Byte-safe substr()
protected
static substr(string $str, int $start[, int $length = null ]) : string
Parameters
- $str : string
- $start : int
- $length : int = null