<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Holds the PMA\libraries\di\ValueItem class * * @package PMA */ namespace PMA\libraries\di; /** * Value manager * * @package PMA\libraries\di */ class ValueItem implements Item { /** @var mixed */ protected $value; /** * Constructor * * @param mixed $value Value */ public function __construct($value) { $this->value = $value; } /** * Get the value * * @param array $params Parameters * @return mixed */ public function get($params = array()) { return $this->value; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
AliasItem.php | File | 850 B | 0644 |
|
Container.php | File | 3.45 KB | 0644 |
|
FactoryItem.php | File | 469 B | 0644 |
|
Item.php | File | 383 B | 0644 |
|
ReflectorItem.php | File | 3.38 KB | 0644 |
|
ServiceItem.php | File | 609 B | 0644 |
|
ValueItem.php | File | 636 B | 0644 |
|