summaryrefslogtreecommitdiff
path: root/vendor/symfony/finder/Finder.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-03-05 15:55:49 -0800
committerFrédéric Guillot <fred@kanboard.net>2018-03-05 15:55:49 -0800
commit9c9e079bcdddcedcc706834eb6e80a1aa4befdc6 (patch)
treed6849c87e080bf7269ef7af4130223444d253b52 /vendor/symfony/finder/Finder.php
parent95ac11a6aad8238a8349d8bda421739307987cae (diff)
Always display SQL errors
Diffstat (limited to 'vendor/symfony/finder/Finder.php')
-rw-r--r--vendor/symfony/finder/Finder.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/symfony/finder/Finder.php b/vendor/symfony/finder/Finder.php
index 8e33d411..c28aaf74 100644
--- a/vendor/symfony/finder/Finder.php
+++ b/vendor/symfony/finder/Finder.php
@@ -297,6 +297,10 @@ class Finder implements \IteratorAggregate, \Countable
/**
* Excludes directories.
*
+ * Directories passed as argument must be relative to the ones defined with the `in()` method. For example:
+ *
+ * $finder->in(__DIR__)->exclude('ruby');
+ *
* @param string|array $dirs A directory path or an array of directories
*
* @return $this