public function set_name( $name )
    {
        foreach($this->components as $c)
        {
            $c->name_template = str_replace('{{parent_name}}', $this->get_name(), $c->composite_name_template);
        }
    }
public function set_name( $name )
    {
        foreach($this->components as $c)
        {
            $c->name_template = str_replace('{{parent_name}}', $this->get_name(), $c->composite_name_template);
        }
    }
public function set_name ( $ name ) { foreach ( $ this -> components as $ c ) { $ c -> name_template = str_replace ( '{{parent_name}}' , $ this -> get_name ( ) , $ c -> composite_name_template ) ; } }
Apply the new name to each of the child components.

@param string $name
@return void
Apply the new name to each of the child components .