FactoryItem.php 476 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Holds the PhpMyAdmin\Di\FactoryItem class
  5. *
  6. * @package PhpMyAdmin\Di
  7. */
  8. namespace PhpMyAdmin\Di;
  9. /**
  10. * Factory manager
  11. *
  12. * @package PhpMyAdmin\Di
  13. */
  14. class FactoryItem extends ReflectorItem
  15. {
  16. /**
  17. * Construct an instance
  18. *
  19. * @param array $params Parameters
  20. *
  21. * @return mixed
  22. */
  23. public function get(array $params = array())
  24. {
  25. return $this->invoke($params);
  26. }
  27. }