TypeGuesserInterface.php 575 B

1234567891011121314151617181920212223242526
  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. * @abstract
  17. * @param string $class
  18. * @param string $property
  19. * @return TypeGuess
  20. */
  21. function guessType($class, $property, ModelManagerInterface $modelManager);
  22. }