TypeGuesserInterface.php 721 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. * This file is part of the Sonata Project 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. namespace Sonata\AdminBundle\Guesser;
  11. use Sonata\AdminBundle\Model\ModelManagerInterface;
  12. /**
  13. * @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
  14. */
  15. interface TypeGuesserInterface
  16. {
  17. /**
  18. * @param string $class
  19. * @param string $property
  20. * @param ModelManagerInterface $modelManager
  21. *
  22. * @return mixed
  23. */
  24. public function guessType($class, $property, ModelManagerInterface $modelManager);
  25. }