<commit_before><?php

/*
 * (c) Xidea <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Xidea\Component\Account\Loader;

use Xidea\Component\Base\Loader\ModelLoaderInterface;

/**
 * @author <NAME> <<EMAIL>>
 */
interface AccountLoaderInterface extends ModelLoaderInterface
{
    /**
     * Returns a manufacturer by id.
     * 
     * @param int $id
     * 
     * @return \Xidea\Component\Account\Model\AccountInterface
     */
    function load($id);
}
<commit_msg>Updated component for pagination support<commit_after><?php

/*
 * (c) Xidea <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Xidea\Component\Account\Loader;

use Xidea\Component\Base\Loader\ModelLoaderInterface;

/**
 * @author <NAME> <<EMAIL>>
 */
interface AccountLoaderInterface extends ModelLoaderInterface
{
    /**
     * Returns a manufacturer by id.
     * 
     * @param int $id
     * 
     * @return \Xidea\Component\Account\Model\AccountInterface
     */
    function load($id);
    
    /**
     * Returns a set of objects.
     * 
     * @param int $page
     * @param int $limit
     * 
     * @return array
     */
    function loadByPage($page = 1, $limit = 25);
}

{'fraction_non_alphanumeric': 0.11991279069767442, 'fraction_numerical': 0.002180232558139535, 'mean_word_length': 2.846368715083799, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '4802249', 'n_tokens_mistral': 408, 'n_tokens_neox': 400, 'n_words': 116}