Alex\BehatLauncher\Controller\RunController::showAction PHP Method

showAction() public method

public showAction ( Request $request, $id )
$request Symfony\Component\HttpFoundation\Request
    public function showAction(Request $request, $id)
    {
        try {
            $run = $this->getRunStorage()->getRun($id);
        } catch (\InvalidArgumentException $e) {
            throw $this->createNotFoundException(sprintf('Run #%s not found.', $id));
        }
        return $this->serialize($run, array('run_details' => true));
    }