raoul2000\workflow\base\SimpleWorkflowBehavior::getScenarioSequence PHP 메소드

getScenarioSequence() 공개 메소드

Creates and returns the list of scenario names that will be used to validate the owner model when it is sent from its current status to the one passed as argument.
public getScenarioSequence ( string $status ) : string[]
$status string the target status
리턴 string[] list of scenario names
    public function getScenarioSequence($status)
    {
        list(, $scenario) = $this->createTransitionItems($status, true, false);
        return $scenario;
    }