Example #1
0
 /**
  * Set the user data from an array
  *
  * @param  array $data An associative array of data
  * @return User
  */
 public function values(array $data)
 {
     parent::values($data);
     //Set the user data
     $this->getSession()->set('user', ObjectConfig::unbox($data));
     return $this;
 }