private function byInvitationSpecification($user)
    {
        (new InviteUserCommandBuilder($this->container, $this->persistence))->build($user);
        (new ResendInvitationUserCommandBuilder($this->container, $this->persistence))->build($user);

        return [
            'command'          => ByInvitationSignUpUserCommand::class,
            'handler'          => ByInvitationSignUpUserHandler::class,
            'handlerArguments' => $this->invitationHandlerArguments($user),
        ];
    }
private function byInvitationSpecification($user)
    {
        (new InviteUserCommandBuilder($this->container, $this->persistence))->build($user);
        (new ResendInvitationUserCommandBuilder($this->container, $this->persistence))->build($user);

        return [
            'command'          => ByInvitationSignUpUserCommand::class,
            'handler'          => ByInvitationSignUpUserHandler::class,
            'handlerArguments' => $this->invitationHandlerArguments($user),
        ];
    }
private function byInvitationSpecification ( $ user ) { ( new InviteUserCommandBuilder ( $ this -> container , $ this -> persistence ) ) -> build ( $ user ) ; ( new ResendInvitationUserCommandBuilder ( $ this -> container , $ this -> persistence ) ) -> build ( $ user ) ; return [ 'command' => ByInvitationSignUpUserCommand :: class , 'handler' => ByInvitationSignUpUserHandler :: class , 'handlerArguments' => $ this -> invitationHandlerArguments ( $ user ) , ] ; }
Gets the "by invitation" specification.

@param string $user The user name

@return array
Gets the by invitation specification .