/**
  * @return string
  */
 public function resolve()
 {
     $bundle = $this->filter($this->bundleControllerAction->getBundle());
     $controller = $this->filter($this->bundleControllerAction->getController());
     $action = $this->filter($this->bundleControllerAction->getAction());
     return $bundle . '/' . $controller . '/' . $action;
 }
 /**
  * @param \Spryker\Shared\Kernel\Communication\BundleControllerActionInterface $bundleControllerAction
  *
  * @return string
  */
 protected function buildMessage(BundleControllerActionInterface $bundleControllerAction)
 {
     $message = 'Spryker Kernel Exception' . PHP_EOL;
     $message .= sprintf('Can not resolve %2$sController for your bundle "%1$s"', ucfirst($bundleControllerAction->getBundle()), ucfirst($bundleControllerAction->getController())) . PHP_EOL;
     $message .= 'You can fix this by adding the missing Controller to your bundle.' . PHP_EOL;
     $message .= new Backtrace();
     return $message;
 }
 /**
  * @param string $namespace
  * @param string|null $store
  *
  * @return string
  */
 protected function buildClassName($namespace, $store = null)
 {
     $searchAndReplace = [self::KEY_NAMESPACE => $namespace, self::KEY_BUNDLE => ucfirst($this->bundleControllerAction->getBundle()), self::KEY_STORE => $store, self::KEY_CONTROLLER => ucfirst($this->bundleControllerAction->getController())];
     $className = str_replace(array_keys($searchAndReplace), array_values($searchAndReplace), $this->getClassPattern());
     return $className;
 }