39
39
* $finder = Finder::create()->files()->name('*.php')->in(__DIR__);
40
40
*
41
41
* @author Fabien Potencier <[email protected] >
42
- *
43
- * @api
44
42
*/
45
43
class Finder implements \IteratorAggregate, \Countable
46
44
{
@@ -88,8 +86,6 @@ public function __construct()
88
86
* Creates a new Finder.
89
87
*
90
88
* @return Finder A new Finder instance
91
- *
92
- * @api
93
89
*/
94
90
public static function create ()
95
91
{
@@ -176,8 +172,6 @@ public function getAdapters()
176
172
* Restricts the matching to directories only.
177
173
*
178
174
* @return Finder The current Finder instance
179
- *
180
- * @api
181
175
*/
182
176
public function directories ()
183
177
{
@@ -190,8 +184,6 @@ public function directories()
190
184
* Restricts the matching to files only.
191
185
*
192
186
* @return Finder The current Finder instance
193
- *
194
- * @api
195
187
*/
196
188
public function files ()
197
189
{
@@ -214,8 +206,6 @@ public function files()
214
206
*
215
207
* @see DepthRangeFilterIterator
216
208
* @see NumberComparator
217
- *
218
- * @api
219
209
*/
220
210
public function depth ($ level )
221
211
{
@@ -241,8 +231,6 @@ public function depth($level)
241
231
* @see strtotime
242
232
* @see DateRangeFilterIterator
243
233
* @see DateComparator
244
- *
245
- * @api
246
234
*/
247
235
public function date ($ date )
248
236
{
@@ -265,8 +253,6 @@ public function date($date)
265
253
* @return Finder The current Finder instance
266
254
*
267
255
* @see FilenameFilterIterator
268
- *
269
- * @api
270
256
*/
271
257
public function name ($ pattern )
272
258
{
@@ -283,8 +269,6 @@ public function name($pattern)
283
269
* @return Finder The current Finder instance
284
270
*
285
271
* @see FilenameFilterIterator
286
- *
287
- * @api
288
272
*/
289
273
public function notName ($ pattern )
290
274
{
@@ -394,8 +378,6 @@ public function notPath($pattern)
394
378
*
395
379
* @see SizeRangeFilterIterator
396
380
* @see NumberComparator
397
- *
398
- * @api
399
381
*/
400
382
public function size ($ size )
401
383
{
@@ -412,8 +394,6 @@ public function size($size)
412
394
* @return Finder The current Finder instance
413
395
*
414
396
* @see ExcludeDirectoryFilterIterator
415
- *
416
- * @api
417
397
*/
418
398
public function exclude ($ dirs )
419
399
{
@@ -430,8 +410,6 @@ public function exclude($dirs)
430
410
* @return Finder The current Finder instance
431
411
*
432
412
* @see ExcludeDirectoryFilterIterator
433
- *
434
- * @api
435
413
*/
436
414
public function ignoreDotFiles ($ ignoreDotFiles )
437
415
{
@@ -452,8 +430,6 @@ public function ignoreDotFiles($ignoreDotFiles)
452
430
* @return Finder The current Finder instance
453
431
*
454
432
* @see ExcludeDirectoryFilterIterator
455
- *
456
- * @api
457
433
*/
458
434
public function ignoreVCS ($ ignoreVCS )
459
435
{
@@ -494,8 +470,6 @@ public static function addVCSPattern($pattern)
494
470
* @return Finder The current Finder instance
495
471
*
496
472
* @see SortableIterator
497
- *
498
- * @api
499
473
*/
500
474
public function sort (\Closure $ closure )
501
475
{
@@ -512,8 +486,6 @@ public function sort(\Closure $closure)
512
486
* @return Finder The current Finder instance
513
487
*
514
488
* @see SortableIterator
515
- *
516
- * @api
517
489
*/
518
490
public function sortByName ()
519
491
{
@@ -530,8 +502,6 @@ public function sortByName()
530
502
* @return Finder The current Finder instance
531
503
*
532
504
* @see SortableIterator
533
- *
534
- * @api
535
505
*/
536
506
public function sortByType ()
537
507
{
@@ -550,8 +520,6 @@ public function sortByType()
550
520
* @return Finder The current Finder instance
551
521
*
552
522
* @see SortableIterator
553
- *
554
- * @api
555
523
*/
556
524
public function sortByAccessedTime ()
557
525
{
@@ -572,8 +540,6 @@ public function sortByAccessedTime()
572
540
* @return Finder The current Finder instance
573
541
*
574
542
* @see SortableIterator
575
- *
576
- * @api
577
543
*/
578
544
public function sortByChangedTime ()
579
545
{
@@ -592,8 +558,6 @@ public function sortByChangedTime()
592
558
* @return Finder The current Finder instance
593
559
*
594
560
* @see SortableIterator
595
- *
596
- * @api
597
561
*/
598
562
public function sortByModifiedTime ()
599
563
{
@@ -613,8 +577,6 @@ public function sortByModifiedTime()
613
577
* @return Finder The current Finder instance
614
578
*
615
579
* @see CustomFilterIterator
616
- *
617
- * @api
618
580
*/
619
581
public function filter (\Closure $ closure )
620
582
{
@@ -627,8 +589,6 @@ public function filter(\Closure $closure)
627
589
* Forces the following of symlinks.
628
590
*
629
591
* @return Finder The current Finder instance
630
- *
631
- * @api
632
592
*/
633
593
public function followLinks ()
634
594
{
@@ -661,8 +621,6 @@ public function ignoreUnreadableDirs($ignore = true)
661
621
* @return Finder The current Finder instance
662
622
*
663
623
* @throws \InvalidArgumentException if one of the directories does not exist
664
- *
665
- * @api
666
624
*/
667
625
public function in ($ dirs )
668
626
{
0 commit comments