Property | Type | Description | |
---|---|---|---|
$basePath | string |
Method | Description | |
---|---|---|
delete ( string $key ) : void | Delete template | |
flush ( ) | ||
formatKey ( string $key ) : string | Format key | |
getTemplate ( string $key ) : |
Get template for given key | |
isUsed ( string $key ) : boolean | Test is used | |
save ( |
Save template | |
setBasePath ( string $path ) : Newscoop\Entity\Repository\TemplateRepository | Set base path | |
updateKey ( string $old, string $new ) : void | Update key |
public getTemplate ( string $key ) : |
||
$key | string | |
return |
public setBasePath ( string $path ) : Newscoop\Entity\Repository\TemplateRepository | ||
$path | string | |
return | Newscoop\Entity\Repository\TemplateRepository |