TypeGuesserInterface.php 719 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Sonata package.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. *
  10. */
  11. namespace Sonata\AdminBundle\Guesser;
  12. use Sonata\AdminBundle\Model\ModelManagerInterface;
  13. interface TypeGuesserInterface
  14. {
  15. /**
  16. * @param string $class
  17. * @param string $property
  18. * @param \Sonata\AdminBundle\Model\ModelManagerInterface $modelManager
  19. *
  20. * @return mixed
  21. */
  22. function guessType($class, $property, ModelManagerInterface $modelManager);
  23. }