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;
    }