ContainerInterface.php 391 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. namespace Yansongda\Pay\Contract;
  4. interface ContainerInterface extends \Psr\Container\ContainerInterface
  5. {
  6. /**
  7. * factory make.
  8. *
  9. * @return mixed
  10. */
  11. public function make(string $name, array $parameters = []);
  12. /**
  13. * @param mixed $entry
  14. *
  15. * @return mixed
  16. */
  17. public function set(string $name, $entry);
  18. }