33 lines
494 B
PHP
33 lines
494 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
|
|
{
|
|
|
|
/**
|
|
* Construct an instance
|
|
*
|
|
* @param array $params Parameters
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function get($params = array())
|
|
{
|
|
return $this->invoke($params);
|
|
}
|
|
}
|