MissingDependency.php 392 B

12345678910111213
  1. <?php
  2. declare(strict_types=1);
  3. namespace AsyncAws\Core\Exception;
  4. class MissingDependency extends \RuntimeException implements Exception
  5. {
  6. public static function create(string $package, string $name)
  7. {
  8. return new self(sprintf('In order to use "%s" you need to install "%s". Run "composer require %s" and all your problems are solved.', $name, $package, $package));
  9. }
  10. }