Initial commit
This commit is contained in:
29
#pma/libraries/di/FactoryItem.php
Normal file
29
#pma/libraries/di/FactoryItem.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Holds the PMA\libraries\di\FactoryItem class
|
||||
*
|
||||
* @package PMA
|
||||
*/
|
||||
namespace PMA\libraries\di;
|
||||
|
||||
/**
|
||||
* Factory manager
|
||||
*
|
||||
* @package PMA\libraries\di
|
||||
*/
|
||||
class FactoryItem extends ReflectorItem
|
||||
{
|
||||
|
||||
/**
|
||||
* Construct an instance
|
||||
*
|
||||
* @param array $params Parameters
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function get($params = array())
|
||||
{
|
||||
return $this->invoke($params);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user