<commit_before><?php

namespace SilexStarter\Contracts;

/**
 * Module provider and module installer should be placed at the root of the module directory.
 */
interface ModuleInterface
{
    /**
     * Module provider constructor.
     *
     * @param Silex\Application $app The Silex application instance
     */
    public function __construct(\Silex\Application $app);

    /**
     * Get the module information.
     *
     * @return SilexStarter\Module\ModuleInfo The module information
     */
    public function getInfo();

    /**
     * Get module resources including route, config, views, etc.
     *
     * @return  SilexStarter\Module\ModuleResource
     */
    public function getResources();

    /**
     * Get the name of the module that will be installed,
     * this will be  used to register template and config namespace as well
     * the name should be [a-zA-Z-_].
     *
     * @return string
     */
    public function getModuleAccessor();

    /**
     * Get the required module to be present.
     *
     * @return array List of module accessor name
     */
    public function getRequiredModules();
}<commit_msg>rename module accessor to moduleIdentifier<commit_after><?php

namespace SilexStarter\Contracts;

/**
 * Module provider and module installer should be placed at the root of the module directory.
 */
interface ModuleInterface
{
    /**
     * Module provider constructor.
     *
     * @param Silex\Application $app The Silex application instance
     */
    public function __construct(\Silex\Application $app);

    /**
     * Get the module information.
     *
     * @return SilexStarter\Module\ModuleInfo The module information
     */
    public function getInfo();

    /**
     * Get module resources including route, config, views, etc.
     *
     * @return  SilexStarter\Module\ModuleResource
     */
    public function getResources();

    /**
     * Get the identifier of the module that will be installed,
     * this will be used to register template and config namespace as well
     * the name should be [a-zA-Z-_].
     *
     * @return string
     */
    public function getModuleIdentifier();

    /**
     * Get the required module to be present.
     *
     * @return array List of module accessor name
     */
    public function getRequiredModules();
}
{'fraction_non_alphanumeric': 0.08714408973252805, 'fraction_numerical': 0.0, 'mean_word_length': 2.5136363636363637, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2359288', 'n_tokens_mistral': 616, 'n_tokens_neox': 607, 'n_words': 220}