Source for file RobotLoader.php
Documentation is available at RobotLoader.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 11: */
- 15: /**
- 16: * Nette auto loader is responsible for loading classes and interfaces.
- 17: *
- 20: */
- 22: {
- 52: /**
- 53: */
- 55: {
- 58: }
- 59: }
- 63: /**
- 64: * Register autoloader.
- 66: */
- 68: {
- 75: }
- 79: }
- 82: }
- 86: /**
- 87: * Handles autoloading of classes or interfaces.
- 90: */
- 92: {
- 99: }
- 106: }
- 110: }
- 115: }
- 116: }
- 117: }
- 121: /**
- 122: * Rebuilds class list cache.
- 125: */
- 127: {
- 137: }
- 138: }
- 144: }
- 148: /**
- 149: * Add directory (or directories) to list.
- 153: */
- 155: {
- 160: }
- 162: }
- 163: }
- 167: /**
- 168: * Add class and file name to the list.
- 172: */
- 174: {
- 178: throw new InvalidStateException("Ambiguous class '$class' resolution; defined in $file and in " . $this->list[$class] . ".");
- 179: }
- 181: }
- 185: /**
- 186: * Scan a directory for PHP files, subdirectories and 'netterobots.txt' file.
- 189: */
- 191: {
- 200: }
- 201: }
- 203: }
- 210: // process subdirectories
- 212: // check ignore mask
- 215: }
- 217: }
- 224: }
- 225: }
- 226: }
- 229: }
- 233: /**
- 234: * Analyse PHP file.
- 237: */
- 239: {
- 243: }
- 253: }
- 255: }
- 258: {
- 270: }
- 282: }
- 283: }
- 291: }
- 296: }
- 299: }
- 305: }
- 306: }
- 307: }
- 311: /**
- 312: * Converts comma separated wildcards to regular expression.
- 315: */
- 317: {
- 324: }
- 326: }
- 330: /********************* backend ****************d*g**/
- 334: /**
- 336: */
- 338: {
- 340: }
- 344: /**
- 346: */
- 348: {
- 350: }
- 354: /**
- 356: */
- 358: {
- 360: }
- 362: }