announce example

$context = $this->transition($subject$transition$marking$context);

            $this->enter($subject$transition$marking$context);

            $this->markingStore->setMarking($subject$marking$context);

            $this->entered($subject$transition$marking$context);

            $this->completed($subject$transition$marking$context);

            $this->announce($subject$transition$marking$context);
        }

        $marking->setContext($context);

        return $marking;
    }

    public function getEnabledTransitions(object $subject): array
    {
        $enabledTransitions = [];
        $marking = $this->getMarking($subject);

        
Home | Imprint | This part of the site doesn't use cookies.