I will give a primitive example as I would like to:
сlass MyClass { //подключить file.php } //file.php содержит const MY_CONST = 'My Value'; //в итоге получить MyClass::MY_CONST; File.php itself can have a completely different name. Are there options for implementation?