AppStateESS/homestead

View on GitHub
class/ParticipantStateNew.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Homestead;

class ParticipantStateNew extends RoomChangeParticipantState {
    const STATE_NAME = 'New';
    const FRIENDLY_NAME = 'Created';

    public function getValidTransitions()
    {
        return array('ParticipantStateStudentApproved', 'ParticipantStateDenied', 'ParticipantStateDeclined', 'ParticipantStateCancelled');
    }
}