* Loads the given class, definition or interface. * * @param string $class The name of the class */
($class)
| 101 | * @param string $class The name of the class |
| 102 | */ |
| 103 | public function loadClass($class) |
| 104 | { |
| 105 | if ((true === $this->apcu && ($file = $this->findFileInApcu($class))) |
| 106 | || ($file = $this->findFile($class))) { |
| 107 | require_once $file; |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Loads the given class or interface in APCu. |