Method | Description | |
---|---|---|
clearAllFor ( str $path ) | Clears all resources that are prefixed by the provided path. | |
findByPath ( string $path ) : |
Provides the synchronized Resource based on the provided resource. | |
findByPathOrId ( $pathOrId ) : |
Provides the synchronized Resource based on the provided resource. | |
getResource ( string $name, string $path ) : |
Provides the synchronized Resource based on the provided name and path. | |
getSynchronized ( |
Provides the synchronized Resource based on the provided resource. | |
getThemePath ( str $themePath ) : |
Provides the synchronized Resource based on the provided theme path. |
public clearAllFor ( str $path ) | ||
$path | str | The path for which all resources should be cleared has to end with a '/'. |
public findByPath ( string $path ) : |
||
$path | string | The Resource Path to be synchronized, not null, not empty. |
return | The synchronized Resource. |
public findByPathOrId ( $pathOrId ) : |
||
return | The synchronized Resource. |
public getResource ( string $name, string $path ) : |
||
$name | string | The name of the Resource to be synchronized, not null, not empty. |
$path | string | The path of the Resource to be synchronized, not null, not empty. |
return | The synchronized Resource. |
public getSynchronized ( |
||
$resource | The Resource to be synchronized, not null, not empty. | |
return | The synchronized Resource. |
public getThemePath ( str $themePath ) : |
||
$themePath | str | The theme path to be synchronized, not null, not empty. |
return | The synchronized Resource. |