<commit_before><?php
/**
 * Vainyl
 *
 * PHP Version 7
 *
 * @package   Core
 * @license   https://opensource.org/licenses/MIT MIT License
 * @link      https://vainyl.com
 */
declare(strict_types=1);

namespace Vainyl\Core\Application;

use Vainyl\Core\ArrayInterface;
use Vainyl\Core\StringInterface;

/**
 * Interface EnvironmentInterface
 *
 * @author <NAME> <<EMAIL>>
 */
interface EnvironmentInterface extends ArrayInterface, StringInterface
{
    /**
     * @return bool
     */
    public function isDebug() : bool;

    /**
     * @return bool
     */
    public function isCaching() : bool;
}<commit_msg>Added more methods to Environment<commit_after><?php
/**
 * Vainyl
 *
 * PHP Version 7
 *
 * @package   Core
 * @license   https://opensource.org/licenses/MIT MIT License
 * @link      https://vainyl.com
 */
declare(strict_types=1);

namespace Vainyl\Core\Application;

use Vainyl\Core\ArrayInterface;
use Vainyl\Core\StringInterface;

/**
 * Interface EnvironmentInterface
 *
 * @author <NAME> <<EMAIL>>
 */
interface EnvironmentInterface extends ArrayInterface, StringInterface
{
    /**
     * @return bool
     */
    public function isDebugEnabled() : bool;

    /**
     * @return bool
     */
    public function isCachingEnabled() : bool;

    /**
     * @return string
     */
    public function getApplicationDirectory() : string;

    /**
     * @return string
     */
    public function getConfigDirectory() : string;

    /**
     * @return string
     */
    public function getCacheDirectory() : string;
}
{'fraction_non_alphanumeric': 0.12955729166666666, 'fraction_numerical': 0.0026041666666666665, 'mean_word_length': 2.901015228426396, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '3940812', 'n_tokens_mistral': 461, 'n_tokens_neox': 450, 'n_words': 106}