phpmyadmin/libraries/di/FactoryItem.class.php
Dan Ungureanu cb9cc68fe9 Fixed more issues.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-25 19:39:33 +03:00

44 lines
763 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Holds the PMA\DI\FactoryItem class
*
* @package PMA
*/
namespace PMA\DI;
require_once 'libraries/di/ReflectorItem.class.php';
/**
* Factory manager
*
* @package PMA\DI
*/
class FactoryItem extends ReflectorItem
{
/**
* Constructor
*
* @param Container $container Container
* @param mixed $definition Definition
*/
public function __construct(Container $container, $definition)
{
parent::__construct($container, $definition);
}
/**
* Construct an instance
*
* @param array $params Parameters
*
* @return mixed
*/
public function get($params = array())
{
return $this->invoke($params);
}
}