/**
  * Instantiates a new category builder factory.
  *
  * @param Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker
  *    The security context.
  * @param \Rhapsody\SocialBundle\Validator\ValidatorInterface $validator
  *    The validator.
  * @param string $class
  *    The class to be created by the builder returned by the factory.
  */
 public function __construct(AuthorizationCheckerInterface $authorizationChecker, ValidatorInterface $validator, $class)
 {
     parent::__construct($authorizationChecker, $validator, $class);
     if ($this->validator !== null) {
         $this->validator->addConstraint(new \Rhapsody\SocialBundle\Validator\Constraint\SocialContextConstraint());
     }
 }
 /**
  * Instantiates a new post builder factory.
  *
  * @param Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker
  *    The security context.
  * @param \Rhapsody\SocialBundle\Validator\ValidatorInterface $validator
  *    The validator.
  * @param string $class
  *    The class to be created by the builder returned by the factory.
  */
 public function __construct(AuthorizationCheckerInterface $authorizationChecker, ValidatorInterface $validator, $class)
 {
     parent::__construct($authorizationChecker, $validator, $class);
     if ($this->validator !== null) {
         // Add constraints here...
     }
 }
 /**
  * Instantiates a new forum builder factory.
  *
  * @param \Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker
  *    The security context.
  * @param \Rhapsody\SocialBundle\Validator\ValidatorInterface $validator
  *    The validator.
  * @param string $class
  *    The class to be created by the builder returned by the factory.
  */
 public function __construct(AuthorizationCheckerInterface $authorizationChecker, ValidatorInterface $validator, $class)
 {
     parent::__construct($authorizationChecker, $validator, $class);
 }