Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

26 Zeilen
698B

  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\web;
  8. /**
  9. * The AssetConverterInterface must be implemented by asset converter classes.
  10. *
  11. * @author Qiang Xue <qiang.xue@gmail.com>
  12. * @since 2.0
  13. */
  14. interface AssetConverterInterface
  15. {
  16. /**
  17. * Converts a given asset file into a CSS or JS file.
  18. * @param string $asset the asset file path, relative to $basePath
  19. * @param string $basePath the directory the $asset is relative to.
  20. * @return string the converted asset file path, relative to $basePath.
  21. */
  22. public function convert($asset, $basePath);
  23. }