fastnorth/property-mapper

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace FastNorth\PropertyMapper\Map;

use FastNorth\PropertyMapper\Transformer\TransformerInterface;

/**
 * LinkInterface
 *
 * Interface describing a single link
 */
interface LinkInterface extends LinkedInterface
{
    /**
     * Is there a transformer?
     *
     * @return bool
     */
    public function hasTransformer();

    /**
     * Get the transformer
     *
     * @see hasTransformer()
     *
     * @return TransformerInterface
     */
    public function getTransformer();
}