FOF30\Pimple\Container::raw PHP Method

raw() public method

Gets a parameter or the closure defining an object.
public raw ( string $id ) : mixed
$id string The unique identifier for the parameter or object
return mixed The value of the parameter or the closure defining an object
    public function raw($id)
    {
        if (!isset($this->keys[$id])) {
            throw new \InvalidArgumentException(sprintf('Identifier "%s" is not defined.', $id));
        }
        if (isset($this->raw[$id])) {
            return $this->raw[$id];
        }
        return $this->values[$id];
    }