src/ParameterBag/ParameterBagTrait.php
public function getParameterBag($identifier)
    {
        if (isset($this->parameterBags[$identifier])) {
            return $this->parameterBags[$identifier];
        }

        return null;
    }
public function getParameterBag($identifier)
    {
        if (isset($this->parameterBags[$identifier])) {
            return $this->parameterBags[$identifier];
        }

        return null;
    }
public function getParameterBag ( $ identifier ) { if ( isset ( $ this -> parameterBags [ $ identifier ] ) ) { return $ this -> parameterBags [ $ identifier ] ; } return null ; }
Get a specific ParameterBag based on identifier.

@param string $identifier
@return ParameterBagInterface
Get a specific ParameterBag based on identifier .