php bin/console make:voter

Create a new security voter class

Usage

make:voter [<name>]

Arguments

name   The name of the security voter class (e.g. <fg=yellow>BlogPostVoter</>) 

Help

The make:voter command generates a new security voter.

php bin/console make:voter BlogPostVoter

If the argument is missing, the command will ask for the class name interactively.