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.

31 lines
819B

  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 package to composer package.
  13. *
  14. * @author François Pluchino <francois.pluchino@gmail.com>
  15. */
  16. interface PackageConverterInterface
  17. {
  18. /**
  19. * Converts the asset data package to composer data package.
  20. *
  21. * @param array $data The asset data package
  22. * @param array $vcsRepos The vcs repositories created
  23. *
  24. * @return array The composer data package
  25. */
  26. public function convert(array $data, array &$vcsRepos = array());
  27. }