protected function handle($domain = null)
    {
        foreach ($this->getTypes() as $type => $values) {
            foreach ($values as $value => $options) {
                $domainType = $domain ?: $options['domain'];
                $this->rename($type, $value, $domainType);
            }
        }
    }
protected function handle($domain = null)
    {
        foreach ($this->getTypes() as $type => $values) {
            foreach ($values as $value => $options) {
                $domainType = $domain ?: $options['domain'];
                $this->rename($type, $value, $domainType);
            }
        }
    }
protected function handle ( $ domain = null ) { foreach ( $ this -> getTypes ( ) as $ type => $ values ) { foreach ( $ values as $ value => $ options ) { $ domainType = $ domain ? : $ options [ 'domain' ] ; $ this -> rename ( $ type , $ value , $ domainType ) ; } } }
Handles flash bag types renaming.

@param string $domain
Handles flash bag types renaming .