public function makeChildBean($childName)
    {
        $bean = serialize($this);
        $bean = unserialize($bean);
        $bean->setName($childName);
        $bean->clearAliases();
        $bean->makeConcrete();
        return $bean;
    }
public function makeChildBean($childName)
    {
        $bean = serialize($this);
        $bean = unserialize($bean);
        $bean->setName($childName);
        $bean->clearAliases();
        $bean->makeConcrete();
        return $bean;
    }
public function makeChildBean ( $ childName ) { $ bean = serialize ( $ this ) ; $ bean = unserialize ( $ bean ) ; $ bean -> setName ( $ childName ) ; $ bean -> clearAliases ( ) ; $ bean -> makeConcrete ( ) ; return $ bean ; }
Returns a new bean definition, a copy of this one.

@param string $childName The name for the new bean

@return BeanDefinition
Returns a new bean definition a copy of this one .