Kohana_Auth::__construct PHP Method

__construct() public method

Loads Session and configuration options.
public __construct ( $config = [] ) : void
return void
    public function __construct($config = array())
    {
        // Clean up the salt pattern and split it into an array
        $config['salt_pattern'] = preg_split('/,\\s*/', Kohana::config('auth')->get('salt_pattern'));
        // Save the config in the object
        $this->_config = $config;
        $this->_session = Session::instance();
    }