username = $data['username']; } public function processRequest() { $user = id(new PhabricatorUser())->loadOneWhere( 'userName = %s', $this->username); if (!$user) { return new Aphront404Response(); } return $this->buildStandardPageResponse( array('this is a profile thingie'), array( 'title' => $user->getUsername(), )); } }