Property | Type | Description | |
---|---|---|---|
$supportedFiles | array |
Method | Description | |
---|---|---|
__construct ( $supportedExtensionClassCollection ) | ||
filterFilesList ( array $filesList, array $excludesList ) : array | Filter the list of files to update. | |
getMetaClass ( string $type ) : Gush\Meta\Meta | ||
getName ( ) | ||
getSupportedFiles ( ) : array | ||
isUpdatable ( Gush\Meta\Meta $meta, string $fileContent ) : boolean | ||
registerFileType ( string $fileType, Gush\Meta\Meta $class ) | ||
renderHeader ( string $header, string $type, string $prefix = '' ) : string | ||
updateContent ( Gush\Meta\Meta $meta, string $header, string $fileContent ) : string | Update the content with the header. |
public getMetaClass ( string $type ) : Gush\Meta\Meta | ||
$type | string | |
return | Gush\Meta\Meta |
public isUpdatable ( Gush\Meta\Meta $meta, string $fileContent ) : boolean | ||
$meta | Gush\Meta\Meta | |
$fileContent | string | |
return | boolean |
public registerFileType ( string $fileType, Gush\Meta\Meta $class ) | ||
$fileType | string | |
$class | Gush\Meta\Meta |