|
@@ -45,7 +45,7 @@ class Finder implements \IteratorAggregate
|
|
/**
|
|
/**
|
|
* Restricts the matching to directories only.
|
|
* Restricts the matching to directories only.
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*/
|
|
*/
|
|
public function directories()
|
|
public function directories()
|
|
{
|
|
{
|
|
@@ -57,7 +57,7 @@ class Finder implements \IteratorAggregate
|
|
/**
|
|
/**
|
|
* Restricts the matching to files only.
|
|
* Restricts the matching to files only.
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*/
|
|
*/
|
|
public function files()
|
|
public function files()
|
|
{
|
|
{
|
|
@@ -76,7 +76,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param int $level The depth level expression
|
|
* @param int $level The depth level expression
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\DepthRangeFilterIterator
|
|
* @see Symfony\Components\Finder\Iterator\DepthRangeFilterIterator
|
|
* @see Symfony\Components\Finder\Comparator\NumberComparator
|
|
* @see Symfony\Components\Finder\Comparator\NumberComparator
|
|
@@ -100,7 +100,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param string $date A date rage string
|
|
* @param string $date A date rage string
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see strtotime
|
|
* @see strtotime
|
|
* @see Symfony\Components\Finder\Iterator\DateRangeFilterIterator
|
|
* @see Symfony\Components\Finder\Iterator\DateRangeFilterIterator
|
|
@@ -124,7 +124,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param string $pattern A pattern (a regexp, a glob, or a string)
|
|
* @param string $pattern A pattern (a regexp, a glob, or a string)
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\FilenameFilterIterator
|
|
* @see Symfony\Components\Finder\Iterator\FilenameFilterIterator
|
|
*/
|
|
*/
|
|
@@ -140,7 +140,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param string $pattern A pattern (a regexp, a glob, or a string)
|
|
* @param string $pattern A pattern (a regexp, a glob, or a string)
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\FilenameFilterIterator
|
|
* @see Symfony\Components\Finder\Iterator\FilenameFilterIterator
|
|
*/
|
|
*/
|
|
@@ -160,7 +160,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param string $size A size range string
|
|
* @param string $size A size range string
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\SizeRangeFilterIterator
|
|
* @see Symfony\Components\Finder\Iterator\SizeRangeFilterIterator
|
|
* @see Symfony\Components\Finder\Comparator\NumberComparator
|
|
* @see Symfony\Components\Finder\Comparator\NumberComparator
|
|
@@ -177,7 +177,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param string $dir A directory to exclude
|
|
* @param string $dir A directory to exclude
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\ExcludeDirectoryFilterIterator
|
|
* @see Symfony\Components\Finder\Iterator\ExcludeDirectoryFilterIterator
|
|
*/
|
|
*/
|
|
@@ -191,7 +191,7 @@ class Finder implements \IteratorAggregate
|
|
/**
|
|
/**
|
|
* Forces the finder to ignore version control directories.
|
|
* Forces the finder to ignore version control directories.
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\IgnoreVcsFilterIterator
|
|
* @see Symfony\Components\Finder\Iterator\IgnoreVcsFilterIterator
|
|
*/
|
|
*/
|
|
@@ -211,7 +211,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param Closure $closure An anonymous function
|
|
* @param Closure $closure An anonymous function
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\SortableIterator
|
|
* @see Symfony\Components\Finder\Iterator\SortableIterator
|
|
*/
|
|
*/
|
|
@@ -227,7 +227,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* This can be slow as all the matching files and directories must be retrieved for comparison.
|
|
* This can be slow as all the matching files and directories must be retrieved for comparison.
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\SortableIterator
|
|
* @see Symfony\Components\Finder\Iterator\SortableIterator
|
|
*/
|
|
*/
|
|
@@ -243,7 +243,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* This can be slow as all the matching files and directories must be retrieved for comparison.
|
|
* This can be slow as all the matching files and directories must be retrieved for comparison.
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\SortableIterator
|
|
* @see Symfony\Components\Finder\Iterator\SortableIterator
|
|
*/
|
|
*/
|
|
@@ -262,7 +262,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param Closure $closure An anonymous function
|
|
* @param Closure $closure An anonymous function
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @see Symfony\Components\Finder\Iterator\CustomFilterIterator
|
|
* @see Symfony\Components\Finder\Iterator\CustomFilterIterator
|
|
*/
|
|
*/
|
|
@@ -276,7 +276,7 @@ class Finder implements \IteratorAggregate
|
|
/**
|
|
/**
|
|
* Forces the following of symlinks.
|
|
* Forces the following of symlinks.
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*/
|
|
*/
|
|
public function followLinks()
|
|
public function followLinks()
|
|
{
|
|
{
|
|
@@ -290,7 +290,7 @@ class Finder implements \IteratorAggregate
|
|
*
|
|
*
|
|
* @param string|array $dirs A directory path or an array of directories
|
|
* @param string|array $dirs A directory path or an array of directories
|
|
*
|
|
*
|
|
- * @return Symfony\Components\Finder The current Finder instance
|
|
|
|
|
|
+ * @return Symfony\Components\Finder\Finder The current Finder instance
|
|
*
|
|
*
|
|
* @throws \InvalidArgumentException if one of the directory does not exist
|
|
* @throws \InvalidArgumentException if one of the directory does not exist
|
|
*/
|
|
*/
|