fastnorth/property-mapper

View on GitHub
src/FastNorth/PropertyMapper/FactoryInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace FastNorth\PropertyMapper;

/**
 * FactoryInterface.
 *
 * Object factory
 */
interface FactoryInterface
{
    /**
     * Factory method.
     *
     * @param mixed $context
     *
     * @return mixed
     */
    public function factory($context);

    /**
     * "Reverse" factory method.
     *
     * @param mixed $context
     *
     * @return mixed
     */
    public function reverse($context);
}