示例#1
0
 /**
  * @dataProvider getCompatibleVersionsDataProvider
  */
 public function testGetCompatibleVersions($package, $theme, $versions)
 {
     $this->assertEquals($versions, self::$_model->getCompatibleVersions($package, $theme));
 }
示例#2
0
 /**
  * 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);
 }