function __construct(ValidatorFactory $validator) { $this->validator = $validator; }
public function __construct(FactoryInterface $valFactory, AuthManager $auth) { $this->auth = $auth; $this->user = $this->auth->user(); parent::__construct($valFactory); }