src/mg/Ding/Container/Impl/ContainerImpl.php
private function _setterInject($bean, $name, $value)
    {
        $methodName = 'set' . ucfirst($name);
        $rClass = $this->_reflectionFactory->getClass(get_class($bean));
        if ($rClass->hasMethod($methodName)) {
            $bean->$methodName($value);
            return true;
        }
        return false;
    }
private function _setterInject($bean, $name, $value)
    {
        $methodName = 'set' . ucfirst($name);
        $rClass = $this->_reflectionFactory->getClass(get_class($bean));
        if ($rClass->hasMethod($methodName)) {
            $bean->$methodName($value);
            return true;
        }
        return false;
    }
Tries to inject by looking up set* methods.

@param object $bean
@param string $name
@param string $value

@return boolean