Final Constructs
Final Components
final component{}
final component extends="MyService"{}Final Functions
component BaseUtil{
final function getFile(){
return getCurrentTemplatePath();
}
}
// Throws exception due to final method being overriden.
component extends="BaseUtil"{
function getFile(){
return "hijacked";
}
}Final Variables
Last updated
Was this helpful?
