raoul2000\workflow\base\SimpleWorkflowBehavior::getScenarioSequence PHP Méthode

getScenarioSequence() public méthode

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
Résultat string[] list of scenario names
    public function getScenarioSequence($status)
    {
        list(, $scenario) = $this->createTransitionItems($status, true, false);
        return $scenario;
    }