CI_Encryption::__get PHP Méthode

__get() public méthode

__get() magic
public __get ( string $key ) : mixed
$key string Property name
Résultat mixed
    public function __get($key)
    {
        // Because aliases
        if ($key === 'mode') {
            return array_search($this->_mode, $this->_modes[$this->_driver], TRUE);
        } elseif (in_array($key, array('cipher', 'driver', 'drivers', 'digests'), TRUE)) {
            return $this->{'_' . $key};
        }
        return NULL;
    }