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
{
@@ -81,8 +79,6 @@ public function __construct()
81
79
* Creates a new Finder.
82
80
*
83
81
* @return Finder A new Finder instance
84
- *
85
- * @api
86
82
*/
87
83
public static function create ()
88
84
{
@@ -197,8 +193,6 @@ public function getAdapters()
197
193
* Restricts the matching to directories only.
198
194
*
199
195
* @return Finder The current Finder instance
200
- *
201
- * @api
202
196
*/
203
197
public function directories ()
204
198
{
@@ -211,8 +205,6 @@ public function directories()
211
205
* Restricts the matching to files only.
212
206
*
213
207
* @return Finder The current Finder instance
214
- *
215
- * @api
216
208
*/
217
209
public function files ()
218
210
{
@@ -235,8 +227,6 @@ public function files()
235
227
*
236
228
* @see DepthRangeFilterIterator
237
229
* @see NumberComparator
238
- *
239
- * @api
240
230
*/
241
231
public function depth ($ level )
242
232
{
@@ -262,8 +252,6 @@ public function depth($level)
262
252
* @see strtotime
263
253
* @see DateRangeFilterIterator
264
254
* @see DateComparator
265
- *
266
- * @api
267
255
*/
268
256
public function date ($ date )
269
257
{
@@ -286,8 +274,6 @@ public function date($date)
286
274
* @return Finder The current Finder instance
287
275
*
288
276
* @see FilenameFilterIterator
289
- *
290
- * @api
291
277
*/
292
278
public function name ($ pattern )
293
279
{
@@ -304,8 +290,6 @@ public function name($pattern)
304
290
* @return Finder The current Finder instance
305
291
*
306
292
* @see FilenameFilterIterator
307
- *
308
- * @api
309
293
*/
310
294
public function notName ($ pattern )
311
295
{
@@ -415,8 +399,6 @@ public function notPath($pattern)
415
399
*
416
400
* @see SizeRangeFilterIterator
417
401
* @see NumberComparator
418
- *
419
- * @api
420
402
*/
421
403
public function size ($ size )
422
404
{
@@ -433,8 +415,6 @@ public function size($size)
433
415
* @return Finder The current Finder instance
434
416
*
435
417
* @see ExcludeDirectoryFilterIterator
436
- *
437
- * @api
438
418
*/
439
419
public function exclude ($ dirs )
440
420
{
@@ -451,8 +431,6 @@ public function exclude($dirs)
451
431
* @return Finder The current Finder instance
452
432
*
453
433
* @see ExcludeDirectoryFilterIterator
454
- *
455
- * @api
456
434
*/
457
435
public function ignoreDotFiles ($ ignoreDotFiles )
458
436
{
@@ -473,8 +451,6 @@ public function ignoreDotFiles($ignoreDotFiles)
473
451
* @return Finder The current Finder instance
474
452
*
475
453
* @see ExcludeDirectoryFilterIterator
476
- *
477
- * @api
478
454
*/
479
455
public function ignoreVCS ($ ignoreVCS )
480
456
{
@@ -515,8 +491,6 @@ public static function addVCSPattern($pattern)
515
491
* @return Finder The current Finder instance
516
492
*
517
493
* @see SortableIterator
518
- *
519
- * @api
520
494
*/
521
495
public function sort (\Closure $ closure )
522
496
{
@@ -533,8 +507,6 @@ public function sort(\Closure $closure)
533
507
* @return Finder The current Finder instance
534
508
*
535
509
* @see SortableIterator
536
- *
537
- * @api
538
510
*/
539
511
public function sortByName ()
540
512
{
@@ -551,8 +523,6 @@ public function sortByName()
551
523
* @return Finder The current Finder instance
552
524
*
553
525
* @see SortableIterator
554
- *
555
- * @api
556
526
*/
557
527
public function sortByType ()
558
528
{
@@ -571,8 +541,6 @@ public function sortByType()
571
541
* @return Finder The current Finder instance
572
542
*
573
543
* @see SortableIterator
574
- *
575
- * @api
576
544
*/
577
545
public function sortByAccessedTime ()
578
546
{
@@ -593,8 +561,6 @@ public function sortByAccessedTime()
593
561
* @return Finder The current Finder instance
594
562
*
595
563
* @see SortableIterator
596
- *
597
- * @api
598
564
*/
599
565
public function sortByChangedTime ()
600
566
{
@@ -613,8 +579,6 @@ public function sortByChangedTime()
613
579
* @return Finder The current Finder instance
614
580
*
615
581
* @see SortableIterator
616
- *
617
- * @api
618
582
*/
619
583
public function sortByModifiedTime ()
620
584
{
@@ -634,8 +598,6 @@ public function sortByModifiedTime()
634
598
* @return Finder The current Finder instance
635
599
*
636
600
* @see CustomFilterIterator
637
- *
638
- * @api
639
601
*/
640
602
public function filter (\Closure $ closure )
641
603
{
@@ -648,8 +610,6 @@ public function filter(\Closure $closure)
648
610
* Forces the following of symlinks.
649
611
*
650
612
* @return Finder The current Finder instance
651
- *
652
- * @api
653
613
*/
654
614
public function followLinks ()
655
615
{
@@ -682,8 +642,6 @@ public function ignoreUnreadableDirs($ignore = true)
682
642
* @return Finder The current Finder instance
683
643
*
684
644
* @throws \InvalidArgumentException if one of the directories does not exist
685
- *
686
- * @api
687
645
*/
688
646
public function in ($ dirs )
689
647
{
0 commit comments