/** * Clocks a user in/out of the system. * * @param RemoteApi $client The connection resource * @param array $auth Array of authentication information (email, password) * @param string $action If the user is clocking in or out. */ public static function timeClock($client, $auth, $action) { $result = $client->timeClock($auth[0], $auth[1], $action); echo $result; }