MCQs > IT & Programming > Symfony2 > What is the correct syntax to secure a controller for users with ROLE_ADMIN

Symfony2 MCQs

What is the correct syntax to secure a controller for users with ROLE_ADMIN

Answer

Correct Answer: @Security("has_role('ROLE_ADMIN')")

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Symfony2 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Symfony2 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it