<?php

namespace iThemesSecurity\Lib\Site_Types\Type;

use iThemesSecurity\Lib\Site_Types\Question\Client_Question_Pack;
use iThemesSecurity\Lib\Site_Types\Question\Global_Question_Pack;
use iThemesSecurity\Lib\Site_Types\Question\Login_Security_Question_Pack;
use iThemesSecurity\Lib\Site_Types\Question\Site_Scan_Question;
use iThemesSecurity\Lib\Site_Types\Site_Type;

final class Blog implements Site_Type {
	public function get_slug(): string {
		return self::BLOG;
	}

	public function get_title(): string {
		return __( 'Blog', 'it-l10n-ithemes-security-pro' );
	}

	public function get_description(): string {
		return __( 'A website to share your thoughts or to start a conversation.', 'it-l10n-ithemes-security-pro' );
	}

	public function get_icon(): string {
		return 'media-text';
	}

	public function get_questions(): array {
		return array_merge(
			[ new Site_Scan_Question() ],
			( new Login_Security_Question_Pack() )->get_questions(),
			( new Client_Question_Pack() )->get_questions(),
			( new Global_Question_Pack() )->get_questions(),
		);
	}
}
