public function addLayout($media, ThemeLayoutInterface $layout)
	{
		$templateLayout = new TemplateLayout($media);
		$templateLayout->setLayoutName($layout->getName());
		$templateLayout->setTemplate($this);

		return $templateLayout;
	}
public function addLayout($media, ThemeLayoutInterface $layout)
	{
		$templateLayout = new TemplateLayout($media);
		$templateLayout->setLayoutName($layout->getName());
		$templateLayout->setTemplate($this);

		return $templateLayout;
	}
public function addLayout ( $ media , ThemeLayoutInterface $ layout ) { $ templateLayout = new TemplateLayout ( $ media ) ; $ templateLayout -> setLayoutName ( $ layout -> getName ( ) ) ; $ templateLayout -> setTemplate ( $ this ) ; return $ templateLayout ; }
Add layout for specific media.

@param string $media
@param ThemeLayoutInterface $layout
@return TemplateLayout
Add layout for specific media .