<commit_before><?php

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

namespace BenGorFile\File\Domain\Model;

/**
 * File repository domain interface.
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
interface FileRepository
{
    /**
     * Finds the file of given id.
     *
     * @param FileId $anId The file id
     *
     * @return File
     */
    public function fileOfId(FileId $anId);

    /**
     * Finds files that matches with the specification.
     *
     * @param mixed $aSpecification The specification
     *
     * @return File[]
     */
    public function query($aSpecification);

    /**
     * Finds file that matches with the specification.
     *
     * @param mixed $aSpecification The specification
     *
     * @return File
     */
    public function singleResultQuery($aSpecification);

    /**
     * Counts files that matches with the specification.
     *
     * @param mixed $aSpecification The specification
     *
     * @return int
     */
    public function count($aSpecification);

    /**
     * Gets all files.
     *
     * @return File[]
     */
    public function all();

    /**
     * Persists the given file.
     *
     * @param File $aFile The file
     */
    public function persist(File $aFile);

    /**
     * Removes the given file.
     *
     * @param File $aFile The file
     */
    public function remove(File $aFile);
}<commit_msg>Removed all method from file repository<commit_after><?php

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

namespace BenGorFile\File\Domain\Model;

/**
 * File repository domain interface.
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
interface FileRepository
{
    /**
     * Finds the file of given id.
     *
     * @param FileId $anId The file id
     *
     * @return File
     */
    public function fileOfId(FileId $anId);

    /**
     * Finds files that matches with the specification.
     *
     * @param mixed $aSpecification The specification
     *
     * @return File[]
     */
    public function query($aSpecification);

    /**
     * Finds file that matches with the specification.
     *
     * @param mixed $aSpecification The specification
     *
     * @return File
     */
    public function singleResultQuery($aSpecification);

    /**
     * Counts files that matches with the specification.
     *
     * @param mixed $aSpecification The specification
     *
     * @return int
     */
    public function count($aSpecification);

    /**
     * Persists the given file.
     *
     * @param File $aFile The file
     */
    public function persist(File $aFile);

    /**
     * Removes the given file.
     *
     * @param File $aFile The file
     */
    public function remove(File $aFile);
}
{'fraction_non_alphanumeric': 0.11277955271565496, 'fraction_numerical': 0.0, 'mean_word_length': 2.264859228362878, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 27, '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': '1557431', 'n_tokens_mistral': 929, 'n_tokens_neox': 902, 'n_words': 299}