public function store($returnContainer = true)
    {
        // reset state
        $this->reset();

        // store this map to container
        $this->container->setMap($this);

        if ($returnContainer === true) {
            return $this->container;
        } else {
            // fluent interface
            return $this;
        }
    }
public function store($returnContainer = true)
    {
        // reset state
        $this->reset();

        // store this map to container
        $this->container->setMap($this);

        if ($returnContainer === true) {
            return $this->container;
        } else {
            // fluent interface
            return $this;
        }
    }
public function store ( $ returnContainer = true ) { // reset state $ this -> reset ( ) ; // store this map to container $ this -> container -> setMap ( $ this ) ; if ( $ returnContainer === true ) { return $ this -> container ; } else { // fluent interface return $ this ; } }
Setter for the configuration of the dependency class.

This method is intend to set the configuration of the dependency class.

@param bool $returnContainer TRUE to return container instance, FALSE to return map instance

@author Benjamin Carl <opensource@clickalicious.de>

@return Doozr_Di_Container Instance of the container for active scope
Setter for the configuration of the dependency class .