Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine
Next Chapter

Challenge #1 of 1


Q: 

Check out the following code:

public function someController()
{
    $this->denyAccessUnlessGranted('BANANA');
}

Assuming that I'm using the normal security system with nothing custom, what will happen when we execute this code?

userVoice