Kentico/delivery-sdk-php

View on GitHub
src/KenticoCloud/Delivery/TypeMapperInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
/**
 * Interface TypeMapperInterface serves for resolving strong types based on provided information.
 */

namespace KenticoCloud\Delivery;

/**
 * Interface TypeMapperInterface serves for resolving strong types based on provided information.
 */
interface TypeMapperInterface
{
    /**
     * Gets strong type based on provided information.
     *
     * @param $typeName name of the type to get (should be a primary source type resolution)
     *
     * @return mixed
     */
    public function getTypeClass($typeName);
}