/** * @param string $package * @param string $theme * @param mixed $expected * @dataProvider getParentThemeDataProvider */ public function testGetParentTheme($package, $theme, $expected) { $this->assertSame($expected, self::$_model->getParentTheme($package, $theme)); }
/** * Get the name of the inherited theme * * If the specified theme inherits other theme the result is the name of inherited theme. * If the specified theme does not inherit other theme the result is null. * * @param string $package * @param string $theme * @return string|null */ protected function _getInheritedTheme($package, $theme) { return $this->_themeConfig->getParentTheme($package, $theme); }