You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
657B

  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\base;
  8. /**
  9. * ViewContextInterface is the interface that should implemented by classes who want to support relative view names.
  10. *
  11. * The method [[getViewPath()]] should be implemented to return the view path that may be prefixed to a relative view name.
  12. *
  13. * @author Paul Klimov <klimov.paul@gmail.com>
  14. * @since 2.0
  15. */
  16. interface ViewContextInterface
  17. {
  18. /**
  19. * @return string the view path that may be prefixed to a relative view name.
  20. */
  21. public function getViewPath();
  22. }