<commit_before><?php
declare(strict_types = 1);

namespace HMLB\DDD\Entity;

use HMLB\DDD\Exception\AggregateRootNotFoundException;

/**
 * Repository for a domain Aggregate Root.
 *
 * @author <NAME> <<EMAIL>>
 */
interface Repository
{
    /**
     * Adds an AggregateRoot to the Repository.
     *
     * @param AggregateRoot $aggregateRoot
     *
     * @return void
     */
    public function add(AggregateRoot $aggregateRoot);

    /**
     * @param Identity $identity
     *
     * @return AggregateRoot
     *
     * @throws AggregateRootNotFoundException
     */
    public function get(Identity $identity): AggregateRoot;

    /**
     * @return AggregateRoot[]
     */
    public function getAll(): array;

    /**
     * The fully qualified class name of the managed AggregateRoot.
     *
     * @return string
     */
    public function getClassName(): string;
}<commit_msg>Removed strict return types for extension capabilities<commit_after><?php
declare(strict_types = 1);

namespace HMLB\DDD\Entity;

use HMLB\DDD\Exception\AggregateRootNotFoundException;

/**
 * Repository for a domain Aggregate Root.
 *
 * @author <NAME> <<EMAIL>>
 */
interface Repository
{
    /**
     * Adds an AggregateRoot to the Repository.
     *
     * @param AggregateRoot $aggregateRoot
     *
     * @return void
     */
    public function add(AggregateRoot $aggregateRoot);

    /**
     * @param Identity $identity
     *
     * @return AggregateRoot
     *
     * @throws AggregateRootNotFoundException
     */
    public function get(Identity $identity);

    /**
     * @return AggregateRoot[]
     */
    public function getAll();

    /**
     * The fully qualified class name of the managed AggregateRoot.
     *
     * @return string
     */
    public function getClassName(): string;
}
{'fraction_non_alphanumeric': 0.10795770728992765, 'fraction_numerical': 0.0011129660545353367, 'mean_word_length': 2.632323232323232, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '5868715', 'n_tokens_mistral': 547, 'n_tokens_neox': 537, 'n_words': 136}