Lines Matching refs:this

61         if (!empty($this->prefixesPsr0)) {
62 return call_user_func_array('array_merge', $this->prefixesPsr0);
70 return $this->prefixDirsPsr4;
75 return $this->fallbackDirsPsr0;
80 return $this->fallbackDirsPsr4;
85 return $this->classMap;
93 if ($this->classMap) {
94 $this->classMap = array_merge($this->classMap, $classMap);
96 $this->classMap = $classMap;
112 $this->fallbackDirsPsr0 = array_merge(
114 $this->fallbackDirsPsr0
117 $this->fallbackDirsPsr0 = array_merge(
118 $this->fallbackDirsPsr0,
127 if (!isset($this->prefixesPsr0[$first][$prefix])) {
128 $this->prefixesPsr0[$first][$prefix] = (array) $paths;
133 $this->prefixesPsr0[$first][$prefix] = array_merge(
135 $this->prefixesPsr0[$first][$prefix]
138 $this->prefixesPsr0[$first][$prefix] = array_merge(
139 $this->prefixesPsr0[$first][$prefix],
160 $this->fallbackDirsPsr4 = array_merge(
162 $this->fallbackDirsPsr4
165 $this->fallbackDirsPsr4 = array_merge(
166 $this->fallbackDirsPsr4,
170 } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
176 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
177 $this->prefixDirsPsr4[$prefix] = (array) $paths;
180 $this->prefixDirsPsr4[$prefix] = array_merge(
182 $this->prefixDirsPsr4[$prefix]
186 $this->prefixDirsPsr4[$prefix] = array_merge(
187 $this->prefixDirsPsr4[$prefix],
203 $this->fallbackDirsPsr0 = (array) $paths;
205 $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
221 $this->fallbackDirsPsr4 = (array) $paths;
227 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
228 $this->prefixDirsPsr4[$prefix] = (array) $paths;
239 $this->useIncludePath = $useIncludePath;
250 return $this->useIncludePath;
261 $this->classMapAuthoritative = $classMapAuthoritative;
271 return $this->classMapAuthoritative;
281 spl_autoload_register(array($this, 'loadClass'), true, $prepend);
289 spl_autoload_unregister(array($this, 'loadClass'));
300 if ($file = $this->findFile($class)) {
322 if (isset($this->classMap[$class])) {
323 return $this->classMap[$class];
325 if ($this->classMapAuthoritative) {
329 $file = $this->findFileWithExtension($class, '.php');
333 $file = $this->findFileWithExtension($class, '.hh');
338 return $this->classMap[$class] = false;
350 if (isset($this->prefixLengthsPsr4[$first])) {
351 foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
353 foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
363 foreach ($this->fallbackDirsPsr4 as $dir) {
379 if (isset($this->prefixesPsr0[$first])) {
380 foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
392 foreach ($this->fallbackDirsPsr0 as $dir) {
399 if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {