Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

50 lines
1006B

  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\Exception;
  11. /**
  12. * The Invalid Create Asset Repository Exception.
  13. *
  14. * @author François Pluchino <francois.pluchino@gmail.com>
  15. */
  16. class InvalidCreateRepositoryException extends \Exception
  17. {
  18. /**
  19. * @var array
  20. */
  21. protected $data = array();
  22. /**
  23. * Set the data of asset package config defined by the registry.
  24. *
  25. * @param array $data The data
  26. *
  27. * @return self
  28. */
  29. public function setData(array $data)
  30. {
  31. $this->data = $data;
  32. return $this;
  33. }
  34. /**
  35. * Get the data of asset package config defined by the registry.
  36. *
  37. * @return array
  38. */
  39. public function getData()
  40. {
  41. return $this->data;
  42. }
  43. }