src/Raikiri/Container.php
public function inherit(Container $parent)
    {
        foreach ($parent->getAll() as $name => $component) {
            if (! $this->has($name)) {
                $this->register($name, $component);
            }
        }
        return $this;
    }
public function inherit(Container $parent)
    {
        foreach ($parent->getAll() as $name => $component) {
            if (! $this->has($name)) {
                $this->register($name, $component);
            }
        }
        return $this;
    }
public function inherit ( Container $ parent ) { foreach ( $ parent -> getAll ( ) as $ name => $ component ) { if ( ! $ this -> has ( $ name ) ) { $ this -> register ( $ name , $ component ) ; } } return $ this ; }
inherit other container

@param   Samurai\Raikiri\Container   $parent
inherit other container