src/Abstracts/AuthenticationMiddleware.php
private function hydrate($data = array()) {
        foreach ($data as $key => $value) {
            $method = "set" . ucfirst($key);
            if (method_exists($this, $method)) {
                call_user_func(array($this, $method), $value);
            }
        }
    }
private function hydrate($data = array()) {
        foreach ($data as $key => $value) {
            $method = "set" . ucfirst($key);
            if (method_exists($this, $method)) {
                call_user_func(array($this, $method), $value);
            }
        }
    }
private function hydrate ( $ data = array ( ) ) { foreach ( $ data as $ key => $ value ) { $ method = "set" . ucfirst ( $ key ) ; if ( method_exists ( $ this , $ method ) ) { call_user_func ( array ( $ this , $ method ) , $ value ) ; } } }
Hydate options from given array

@param array $data Array of options.
@return self
Hydate options from given array