phpDocumentor

VariantInheritanceResolver
in package
implements InheritanceResolverInterface

Class VariantExtendsPropertyResolver

Interfaces, Classes and Traits

InheritanceResolverInterface
Class ExtendsHandlerInterface

Table of Contents

PARENT  = 'PARENT'
SELF  = 'SELF'
$fileIO  : FileIO
__construct()  : mixed
VariantExtendsPropertyResolver constructor.
getResourceFullPath()  : string
getResourceRelativePath()  : mixed|string|null
getVariantPathFromThemeAndSettings()  : string
jsonExtensionFolder()  : string
resolveInheritanceFileName()  : string
resolveInheritanceType()  : string
getFirstParentWithResource()  : string|null
getFirstParentWithVariant()  : string|null
getParentThemeIdOf()  : string|null
lookupThemeId()  : string

Constants

Properties

Methods

getResourceRelativePath()

public getResourceRelativePath( $settings,  $resourcePath,  $sourceFilename) : mixed|string|null
Parameters
$settings :
$resourcePath :
$sourceFilename :
Tags
throws
Exception
Return values
mixed|string|null

resolveInheritanceFileName()

public resolveInheritanceFileName( $settings,  $sourceFilename) : string
Parameters
$settings :
$sourceFilename :
Tags
throws
Exception
Return values
string

resolveInheritanceType()

public resolveInheritanceType( $settings,  $sourceFilename) : string
Parameters
$settings :
$sourceFilename :
Return values
string

getParentThemeIdOf()

protected getParentThemeIdOf(string $themeBasePath, string $theme) : string|null
Parameters
$themeBasePath : string
$theme : string
Tags
throws
Exception
Return values
string|null

lookupThemeId()

protected lookupThemeId(string $parentTheme, string $theme, string $themeBasePath) : string
Parameters
$parentTheme : string
$theme : string
$themeBasePath : string
Tags
throws
Exception
Return values
string

Search results