09-10-2020, 08:33 AM
I've tried a few things, but nothing seems to do the trick, where is the best place to put a global abstract class eg:
abstract class GlobalTypes
{
const Type1 = 'str_type_1';
const Type2 = 'str_type_2';
const XYZ= 'str_type_xyz';
conts YES = true;
}
So GlobalTypes::YES needs to be available in the entire project.
abstract class GlobalTypes
{
const Type1 = 'str_type_1';
const Type2 = 'str_type_2';
const XYZ= 'str_type_xyz';
conts YES = true;
}
So GlobalTypes::YES needs to be available in the entire project.