<?php

namespace Reach\App\Theme;

use Reach\App\Interfaces\WordPressHooks;
use Reach\App\Users\UserRoles;

/**
 * Class ThemeActivation
 *
 * addHooks()
 * reachParentSetupOptions()
 *
 * @package Reach\App\Theme
 */
class ThemeActivation implements WordPressHooks {

    /**
     * Add class hooks.
     */
    public function addHooks() {
        add_action( 'after_switch_theme', [ $this, 'reachParentSetupOptions' ] );
    }

    /**
     * Call necessary methods to setup the initial options for our theme
     */
    public function reachParentSetupOptions() {
        ( new UserRoles() )->removeDefaultUserRoles();
    }
}