<?php

namespace Ignite\Core\Events\Menus;

use Ignite\Core\Models\Menu\AdminMenu;

class AdminMenuPreCompile
{
    /**
     * @var AdminMenu
     */
    private $manager;

    /**
     * AdminMenuPreCompile constructor.
     *
     * @param AdminMenu $manager
     */
    public function __construct(AdminMenu $manager)
    {
        $this->manager = $manager;
    }

    /**
     * The menu object.
     *
     * @return AdminMenu
     */
    public function getManager()
    {
        return $this->manager;
    }
}
