Kraken\Util\Factory\FactoryTrait::getParam PHP Method

getParam() public method

See also: FactoryInterface::getParam
public getParam ( $name )
    public function getParam($name)
    {
        if (!array_key_exists($name, $this->params)) {
            throw new IllegalFieldException("Factory does not posses param [{$name}].");
        }
        return $this->invoke($this->params[$name]);
    }