public function dispatch(
        UserModel $user,
        UserFactory $factory,
        HookFactory $hook
    ) {
        $this->user = $user;
        $this->factory = $factory;
        $this->hook = $hook;
    }
public function dispatch(
        UserModel $user,
        UserFactory $factory,
        HookFactory $hook
    ) {
        $this->user = $user;
        $this->factory = $factory;
        $this->hook = $hook;
    }
public function dispatch ( UserModel $ user , UserFactory $ factory , HookFactory $ hook ) { $ this -> user = $ user ; $ this -> factory = $ factory ; $ this -> hook = $ hook ; }
Construct repository.

@param \Assely\Hook\HookFactory $hook
Construct repository .