<commit_before><?php
/**
 * @package       johnpancoast/precept
 * @copyright (c) 2015 <NAME>
 * @author        <NAME> <<EMAIL>>
 * @license       MIT
 */

namespace Pancoast\Precept;

/**
 * A model proxy is the core logic your application will interact with
 *
 * You will hand this object your domain/business models and call methods on it through this proxy. Events will be
 * emitted before and after the calls (and maybe more places in the future).
 *
 * @author <NAME> <<EMAIL>>
 */
interface ModelProxyInterface
{
    /**
     * Set model
     *
     * @param Object $model A consumer's model object
     * @return mixed
     */
    public function setModel($model);

    /**
     * Set model input
     *
     * @param InputInterface $input
     * @return bool True on success<commit_msg>Update docblock<commit_after><?php
/**
 * @package       johnpancoast/precept
 * @copyright (c) 2015 <NAME>
 * @author        <NAME> <<EMAIL>>
 * @license       MIT
 */

namespace Pancoast\Precept;

/**
 * A model proxy is the core logic your application will interact with
 *
 * You will hand this object your domain/business models and call methods on it through this proxy. The implementer of
 * this class may execute logic before and/or after calls to your model.
 *
 * @author <NAME> <<EMAIL>>
 */
interface ModelProxyInterface
{
    /**
     * Set model
     *
     * @param Object $model A consumer's model object
     * @return mixed
     */
    public function setModel($model);

    /**
     * Set model input
     *
     * @param InputInterface $input
     * @return bool True on success
{'fraction_non_alphanumeric': 0.10213032581453634, 'fraction_numerical': 0.005012531328320802, 'mean_word_length': 2.6797235023041477, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, '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': '1525049', 'n_tokens_mistral': 455, 'n_tokens_neox': 441, 'n_words': 175}