public function add_layouts($layouts) { foreach ($layouts as $layout) { $this->add_layout($layout); } }