<commit_before><?php
declare(strict_types = 1);
/**
 * /src/Rest/RestResourceInterfaces.php
 *
 * @author  TLe, <NAME> <<EMAIL>>
 */

namespace App\Rest;

use App\DTO\RestDtoInterface;
use App\Entity\EntityInterface;
use App\Repository\BaseRepositoryInterface;
use BadMethodCallException;
use Doctrine\Common\Proxy\Proxy;
use InvalidArgumentException;
use LogicException;
use Symfony\Component\Validator\Validator\ValidatorInterface;
use Throwable;
use UnexpectedValueException;

/**
 * Interface ResourceInterface
 *
 * @package App\Rest
 * @author  TLe, <NAME> <<EMAIL>>
 */
interface RestResourceInterface
{
    /**
     * Getter method for entity repository.
     *
     * @return BaseRepositoryInterface
     */
    public function getRepository(): BaseRepositoryInterface;

    /**<commit_msg>refactor: clean up for use statements<commit_after><?php
declare(strict_types = 1);
/**
 * /src/Rest/RestResourceInterfaces.php
 *
 * @author  TLe, <NAME> <<EMAIL>>
 */

namespace App\Rest;

use App\DTO\RestDtoInterface;
use App\Entity\EntityInterface;
use App\Repository\BaseRepositoryInterface;
use Doctrine\Common\Proxy\Proxy;
use Symfony\Component\Validator\Validator\ValidatorInterface;
use Throwable;
use UnexpectedValueException;

/**
 * Interface ResourceInterface
 *
 * @package App\Rest
 * @author  TLe, <NAME> <<EMAIL>>
 */
interface RestResourceInterface
{
    /**
     * Getter method for entity repository.
     *
     * @return BaseRepositoryInterface
     */
    public function getRepository(): BaseRepositoryInterface;

    /**
{'fraction_non_alphanumeric': 0.11658031088082901, 'fraction_numerical': 0.0012953367875647669, 'mean_word_length': 4.4020979020979025, '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': '2744903', 'n_tokens_mistral': 451, 'n_tokens_neox': 446, 'n_words': 101}