Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DefinedClasses.php
Go to the documentation of this file.
1 <?php
8 
10 
15 {
22  public function isClassLoadable($className)
23  {
25  }
26 
34  {
35  return class_exists($className, false) || interface_exists($className, false);
36  }
37 
46  {
47  return $this->isClassLoadableFromDisk($className);
48  }
49 
57  {
58  try {
59  return (bool)AutoloaderRegistry::getAutoloader()->findFile($className);
60  } catch (\Exception $e) {
61  // Couldn't get access to the autoloader so we need to allow class_exists to call autoloader chain
62  return (class_exists($className) || interface_exists($className));
63  }
64  }
65 }
if($currentSelectedMethod==$_code) $className
Definition: form.phtml:31