/** * @param array $data * @return User */ public static function create(array $data) { $entity = new User(); $entity->bind($data); return $entity; }