/**
  * Constructor
  *
  * @param string                $name       target instance name
  * @param MemberEntityInterface $user       User instance
  * @param Registered            $registered Registered instance
  */
 public function __construct($name, MemberEntityInterface $user = null, Registered $registered = null)
 {
     $this->target = $name;
     $this->user = $user;
     parent::__construct($registered);
 }
 public function __construct($target, $user, Registered $registered)
 {
     $this->target = $target;
     $this->user = $user;
     parent::__construct($registered);
 }