Adam Cameron
// Foo.cfc
component {
static {
Foo::someVar = 0
}
}
// Foo.cfc
component {
static {
static.someVar = 0
}
}
Or, that said, any idiomatic preference for one or the other.zackster
07/29/2022, 4:53 AMdajester2015
08/09/2022, 6:41 PMcomponent {
static {
(public|private)? (final)? someVar = 0;
}
}
i thought the static
scope is only necessary in member methods trying to access that scope.