<?php

namespace XF\Alert;

/**
 * @extends AbstractHandler<\XF\Entity\Post>
 */
class PostHandler extends AbstractHandler
{
	public function getEntityWith()
	{
		$visitor = \XF::visitor();

		return ['Thread', 'Thread.Forum', 'Thread.Forum.Node.Permissions|' . $visitor->permission_combination_id];
	}

	public function getOptOutActions()
	{
		return [
			'forumwatch_insert',
			'insert',
			'quote',
			'mention',
			'reaction',
		];
	}

	public function getOptOutDisplayOrder()
	{
		return 100;
	}
}
