Creates a new instance of the bag with the given flag. If a flag with the same identifier already exists, the
existing value will be replaced.
public withFlag ( Nelmio\Alice\Definition\FlagInterface $flag ) : self | ||
$flag | Nelmio\Alice\Definition\FlagInterface | |
Результат | self |