We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e6bcad commit 980d7c5Copy full SHA for 980d7c5
src/RobotLoader/RobotLoader.php
@@ -27,7 +27,7 @@ class RobotLoader
27
/** @var string|array comma separated wildcards */
28
public $acceptFiles = '*.php, *.php5';
29
30
- /** @var bool */
+ /** @var bool @deprecated */
31
public $autoRebuild = TRUE;
32
33
/** @var array */
@@ -335,6 +335,17 @@ private function scanPhp($code)
335
/********************* caching ****************d*g**/
336
337
338
+ /**
339
+ * Sets auto-refresh mode.
340
+ * @return self
341
+ */
342
+ public function setAutoRefresh($on = TRUE)
343
+ {
344
+ $this->autoRebuild = (bool) $on;
345
+ return $this;
346
+ }
347
+
348
349
/**
350
* @return self
351
*/
0 commit comments