CompilerInterface.php 560B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Illuminate\View\Compilers;
  3. interface CompilerInterface
  4. {
  5. /**
  6. * Get the path to the compiled version of a view.
  7. *
  8. * @param string $path
  9. * @return string
  10. */
  11. public function getCompiledPath($path);
  12. /**
  13. * Determine if the given view is expired.
  14. *
  15. * @param string $path
  16. * @return bool
  17. */
  18. public function isExpired($path);
  19. /**
  20. * Compile the view at the given path.
  21. *
  22. * @param string $path
  23. * @return void
  24. */
  25. public function compile($path);
  26. }