/** * @param Application $app * * @return ApplicationFlowInterface */ private function getAppFlow($app) { /** @var ApplicationFlowInterface $appFlow */ $appFlow = $this->get($app->getFlowServiceName()); $appFlow->setApplication($app); return $appFlow; }