Method |
Description |
|
createImportName ( string $resource ) : string |
Creates the correctly formatted resource name with paths |
|
createResource ( array | string $import ) : ResourceProvider |
Creates resource from the import |
|
getBooleanValue ( string $value ) : boolean |
Gets the boolean value from the string |
|
import2Resource ( array | string $import, array $imported_resources ) : array |
Creates the resource from the import then imports it |
|
importResource ( ResourceProvider $provider, array $imported_resources ) : array |
Import resource into the imported resources and merge contents |
|
isAssoc ( array $array ) : boolean |
Returns whether the passed array is associative |
|
makePaths ( string $file ) |
Make the paths used for the filename variable |
|
parseContent ( mixed $key, mixed $value, array $returned_content, string $prefix ) : array |
Parses the contents inside the content array |
|
parseText ( string $text ) : string | null |
Parses the text for option and environment replacements and replaces the text |
|
processImport ( mixed $import, array $imported_resources ) : array |
Processes the import and gets individual import if set and passes them off to import2Resources() |
|
searchForResources ( mixed $content = [], string $prefix = '' ) : array |
Search for imports in the files and does the replacement variables |
|
useImports ( mixed $imports ) : array |
Use the import arrays to import resources |
|