     1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

    <?php
    /**
     * @class ConferenceMemberEvent
     *
     * https://catapult.inetwork.com/docs/callback-events/conference-member-event/
     *
     * Provide access to member events. Where member events
     * can be one of the following:
     * - Members Joining
     * - Member has been muted
     * - Member has left
     *
     * All of these should provide the same functionality, to update
     * the members information.
     */
    namespace Catapult;

    final class ConferenceMemberEvent extends ConferenceEventMixin {
        public function __construct() {
          $data = Ensure::Input(func_get_args, Converter::toArray(json_decode(file_get_contents("php://input"))));
          return new ConferenceMember($data);
        }
    }