Свойство | Type | Description | |
---|---|---|---|
$vars | The parent Vars class |
Méthode | Description | |
---|---|---|
__construct ( |
The ResourceProvider constructor creates the content from the entity | |
addParentContent ( array $content ) | Adds content to the parent content array | |
getParentContent ( ) : mixed | Returns the parent content | |
mergeParentContent ( ) : |
Merges the content and the parent content together |
Méthode | Description | |
---|---|---|
addContent ( array $content ) | Adds content to the parent contents | |
createResources ( array $resources, string $type ) | Creates the FileResource|ResourceProvider from the resource | |
getSupportedFilesInDir ( string $entity ) : array | boolean | Returns the supported files using the extensions from the loaders in the entity which is a directory | |
mergeContents ( ) : array | Merges various configuration contents into one array | |
parseEntity ( string $entity ) | Creates the content from the entity | |
processEntity ( string | array $entity, string $type ) | Creates the content from the entity |
public __construct ( |
||
$vars | The calling Vars class | |
$entity | string | array | The configuration entity |
$relative | boolean | Is the entity relative to the calling entity or class |
$recursive | boolean | If entity a dir, do you want to recursively check directories |
public addParentContent ( array $content ) | ||
$content | array | The content to add |
public getParentContent ( ) : mixed | ||
Résultat | mixed | The parent content |
public mergeParentContent ( ) : |
||
Résultat |