Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
final class Poll {
function _construct(array $questions, AnonnyomousStrategy $annonymousStrategy, ValidationPolicy $validationPolicy) {
new Poll([]);
new Poll([], new NoAnonnyomousValidStrategy());
new Poll([], , new StrictValidationPolicy());
new Poll([], new NoAnonnyomousValidStrategy(), new StrictValidationPolicy());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment