mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7629 Deprecate utils::GetClassesForInterface in favor of InterfaceDiscovery::FindItopClasses
Improve caching strategy and robustness
This commit is contained in:
@@ -32,7 +32,7 @@ class Validator extends CustomRegexpValidator
|
||||
public function __construct($sRegExp = null, $sErrorMessage = null)
|
||||
{
|
||||
// cannot use DeprecatedCallsLog::NotifyDeprecatedFile as it would trigger an exception on dev env
|
||||
// because all autoloader files are loaded during MetaModel::Startup (calling \Combodo\iTop\Service\Events\EventService::InitService calling \utils::GetClassesForInterface)
|
||||
// because all autoloader files are loaded during MetaModel::Startup (calling \Combodo\iTop\Service\Events\EventService::InitService calling InterfaceDiscovery::FindItopClasses)
|
||||
DeprecatedCallsLog::NotifyDeprecatedPhpMethod('3.1.0 N°6414 use '.CustomRegexpValidator::class.' instead');
|
||||
|
||||
parent::__construct($sRegExp, $sErrorMessage);
|
||||
|
||||
Reference in New Issue
Block a user