fastnorth/property-mapper

View on GitHub
src/FastNorth/PropertyMapper/Map/EmbeddedCollectionInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace FastNorth\PropertyMapper\Map;

use FastNorth\PropertyMapper\FactoryInterface;
use FastNorth\PropertyMapper\MapInterface;

/**
 * EmbeddedCollectionInterface
 *
 * An embedded collection
 */
interface EmbeddedCollectionInterface extends LinkedInterface
{
    /**
     * Get the map for the collection
     *
     * @return MapInterface
     */
    public function getMap();

    /**
     * Get the factory for new items
     *
     * @return FactoryInterface
     */
    public function getFactory();
}