'any', 'requestData' => [] ]; } public function handler() { if(imap_open(Controller::request('imap-host'), Controller::request('imap-user'), Controller::request('imap-pass'))) { Response::respondSuccess(); } else { throw new RequestException(ERRORS::IMAP_CONNECTION); } } }