lithium\security\auth\adapter\Http::set PHP 메소드

set() 공개 메소드

A pass-through method called by Auth. Returns the value of $data, which is written to a user's session. When implementing a custom adapter, this method may be used to modify or reject data before it is written to the session.
public set ( array $data, array $options = [] ) : array
$data array User data to be written to the session.
$options array Adapter-specific options. Not implemented in the `Form` adapter.
리턴 array Returns the value of `$data`.
    public function set($data, array $options = array())
    {
        return $data;
    }