34
34
* $finder = Finder::create()->files()->name('*.php')->in(__DIR__);
35
35
*
36
36
* @author Fabien Potencier <[email protected] >
37
- *
38
- * @api
39
37
*/
40
38
class Finder implements \IteratorAggregate, \Countable
41
39
{
@@ -75,8 +73,6 @@ public function __construct()
75
73
* Creates a new Finder.
76
74
*
77
75
* @return Finder A new Finder instance
78
- *
79
- * @api
80
76
*/
81
77
public static function create ()
82
78
{
@@ -87,8 +83,6 @@ public static function create()
87
83
* Restricts the matching to directories only.
88
84
*
89
85
* @return Finder The current Finder instance
90
- *
91
- * @api
92
86
*/
93
87
public function directories ()
94
88
{
@@ -101,8 +95,6 @@ public function directories()
101
95
* Restricts the matching to files only.
102
96
*
103
97
* @return Finder The current Finder instance
104
- *
105
- * @api
106
98
*/
107
99
public function files ()
108
100
{
@@ -125,8 +117,6 @@ public function files()
125
117
*
126
118
* @see DepthRangeFilterIterator
127
119
* @see NumberComparator
128
- *
129
- * @api
130
120
*/
131
121
public function depth ($ level )
132
122
{
@@ -152,8 +142,6 @@ public function depth($level)
152
142
* @see strtotime
153
143
* @see DateRangeFilterIterator
154
144
* @see DateComparator
155
- *
156
- * @api
157
145
*/
158
146
public function date ($ date )
159
147
{
@@ -176,8 +164,6 @@ public function date($date)
176
164
* @return Finder The current Finder instance
177
165
*
178
166
* @see FilenameFilterIterator
179
- *
180
- * @api
181
167
*/
182
168
public function name ($ pattern )
183
169
{
@@ -194,8 +180,6 @@ public function name($pattern)
194
180
* @return Finder The current Finder instance
195
181
*
196
182
* @see FilenameFilterIterator
197
- *
198
- * @api
199
183
*/
200
184
public function notName ($ pattern )
201
185
{
@@ -305,8 +289,6 @@ public function notPath($pattern)
305
289
*
306
290
* @see SizeRangeFilterIterator
307
291
* @see NumberComparator
308
- *
309
- * @api
310
292
*/
311
293
public function size ($ size )
312
294
{
@@ -323,8 +305,6 @@ public function size($size)
323
305
* @return Finder The current Finder instance
324
306
*
325
307
* @see ExcludeDirectoryFilterIterator
326
- *
327
- * @api
328
308
*/
329
309
public function exclude ($ dirs )
330
310
{
@@ -341,8 +321,6 @@ public function exclude($dirs)
341
321
* @return Finder The current Finder instance
342
322
*
343
323
* @see ExcludeDirectoryFilterIterator
344
- *
345
- * @api
346
324
*/
347
325
public function ignoreDotFiles ($ ignoreDotFiles )
348
326
{
@@ -363,8 +341,6 @@ public function ignoreDotFiles($ignoreDotFiles)
363
341
* @return Finder The current Finder instance
364
342
*
365
343
* @see ExcludeDirectoryFilterIterator
366
- *
367
- * @api
368
344
*/
369
345
public function ignoreVCS ($ ignoreVCS )
370
346
{
@@ -405,8 +381,6 @@ public static function addVCSPattern($pattern)
405
381
* @return Finder The current Finder instance
406
382
*
407
383
* @see SortableIterator
408
- *
409
- * @api
410
384
*/
411
385
public function sort (\Closure $ closure )
412
386
{
@@ -423,8 +397,6 @@ public function sort(\Closure $closure)
423
397
* @return Finder The current Finder instance
424
398
*
425
399
* @see SortableIterator
426
- *
427
- * @api
428
400
*/
429
401
public function sortByName ()
430
402
{
@@ -441,8 +413,6 @@ public function sortByName()
441
413
* @return Finder The current Finder instance
442
414
*
443
415
* @see SortableIterator
444
- *
445
- * @api
446
416
*/
447
417
public function sortByType ()
448
418
{
@@ -461,8 +431,6 @@ public function sortByType()
461
431
* @return Finder The current Finder instance
462
432
*
463
433
* @see SortableIterator
464
- *
465
- * @api
466
434
*/
467
435
public function sortByAccessedTime ()
468
436
{
@@ -483,8 +451,6 @@ public function sortByAccessedTime()
483
451
* @return Finder The current Finder instance
484
452
*
485
453
* @see SortableIterator
486
- *
487
- * @api
488
454
*/
489
455
public function sortByChangedTime ()
490
456
{
@@ -503,8 +469,6 @@ public function sortByChangedTime()
503
469
* @return Finder The current Finder instance
504
470
*
505
471
* @see SortableIterator
506
- *
507
- * @api
508
472
*/
509
473
public function sortByModifiedTime ()
510
474
{
@@ -524,8 +488,6 @@ public function sortByModifiedTime()
524
488
* @return Finder The current Finder instance
525
489
*
526
490
* @see CustomFilterIterator
527
- *
528
- * @api
529
491
*/
530
492
public function filter (\Closure $ closure )
531
493
{
@@ -538,8 +500,6 @@ public function filter(\Closure $closure)
538
500
* Forces the following of symlinks.
539
501
*
540
502
* @return Finder The current Finder instance
541
- *
542
- * @api
543
503
*/
544
504
public function followLinks ()
545
505
{
@@ -572,8 +532,6 @@ public function ignoreUnreadableDirs($ignore = true)
572
532
* @return Finder The current Finder instance
573
533
*
574
534
* @throws \InvalidArgumentException if one of the directories does not exist
575
- *
576
- * @api
577
535
*/
578
536
public function in ($ dirs )
579
537
{
0 commit comments