<commit_before><?php
/**
 * Copyright (c) Qobo Ltd. (https://www.qobo.biz)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Qobo Ltd. (https://www.qobo.biz)
 * @license       https://opensource.org/licenses/mit-license.php MIT License
 */
namespace Menu\MenuBuilder;

use Cake\View\View;

/**
 *  MenuItemInterface
 *
 * interface for all menu item classes
 */
interface MenuItemInterface extends MenuItemContainerInterface
{

    /**
     *  getChildren method
     *
     * @deprecated Use getMenuItems method instead.
     * @return array list of child items
     */
    public function getChildren();

    /**
     *  addChild method
     *
     * @param MenuItemInterface $item menu item
     * @deprecated Use addMenuItem method instead.
     * @return void
     */
    public function addChild(MenuItemInterface $item);

    /**
     * removeChild method
     *
     * @param string $childId to identify child item to be removed
     * @deprecated Use removeMenuItem method instead.
     * @return void
     */
    public function removeChild($childId);

    /**
     * Sets the enabled flag to the provided value
     * @param bool $enabled Indicates whether this Menu item is enabled
     * @return void
     */
    public function setEnabled($enabled);

    /**
     * Sets the enabled flag to true.
     * Alias for setEnabled(true)
     * @see MenuItemInterface::setEnabled()
     * @return void
     */
    public function enable();

    /**
     * Sets the enabled flag to false.
     * Alias for setEnabled(false)
     * @see MenuItemInterface::setEnabled()
     * @return  void
     */
    public function disable();
<commit_msg>Remove deprecated methods from interface (task #7077)<commit_after><?php
/**
 * Copyright (c) Qobo Ltd. (https://www.qobo.biz)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Qobo Ltd. (https://www.qobo.<EMAIL>)
 * @license       https://opensource.org/licenses/mit-license.php MIT License
 */
namespace Menu\MenuBuilder;

use Cake\View\View;

/**
 *  MenuItemInterface
 *
 * interface for all menu item classes
 */
interface MenuItemInterface extends MenuItemContainerInterface
{

    /**
     * Sets the enabled flag to the provided value
     * @param bool $enabled Indicates whether this Menu item is enabled
     * @return void
     */
    public function setEnabled($enabled);

    /**
     * Sets the enabled flag to true.
     * Alias for setEnabled(true)
     * @see MenuItemInterface::setEnabled()
     * @return void
     */
    public function enable();

    /**
     * Sets the enabled flag to false.
     * Alias for setEnabled(false)
     * @see MenuItemInterface::setEnabled()
     * @return  void
     */
    public function disable();

{'fraction_non_alphanumeric': 0.09930486593843098, 'fraction_numerical': 0.0013240648791790798, 'mean_word_length': 2.7493796526054592, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 4, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1441928', 'n_tokens_mistral': 827, 'n_tokens_neox': 801, 'n_words': 282}