選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

39 行
972B

  1. <?php
  2. /*
  3. * This file is part of the Fxp Composer Asset Plugin package.
  4. *
  5. * (c) François Pluchino <francois.pluchino@gmail.com>
  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 Fxp\Composer\AssetPlugin\Converter;
  11. /**
  12. * Interface for the converter for asset syntax version to composer syntax version.
  13. *
  14. * @author François Pluchino <francois.pluchino@gmail.com>
  15. */
  16. interface VersionConverterInterface
  17. {
  18. /**
  19. * Converts the asset version to composer version.
  20. *
  21. * @param string $version The asset version
  22. *
  23. * @return string The composer version
  24. */
  25. public function convertVersion($version);
  26. /**
  27. * Converts the range asset version to range composer version.
  28. *
  29. * @param string $range The range asset version
  30. *
  31. * @return string The range composer version
  32. */
  33. public function convertRange($range);
  34. }