Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • CustomFilterIterator
  • DateRangeFilterIterator
  • DepthRangeFilterIterator
  • ExcludeDirectoryFilterIterator
  • FilecontentFilterIterator
  • FilenameFilterIterator
  • FilePathsIterator
  • FileTypeFilterIterator
  • FilterIterator
  • MultiplePcreFilterIterator
  • PathFilterIterator
  • RecursiveDirectoryIterator
  • SizeRangeFilterIterator
  • SortableIterator
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class FilePathsIterator

Iterate over shell command result.

ArrayIterator implements Iterator, Traversable, ArrayAccess, SeekableIterator, Serializable, Countable
Extended by Symfony\Component\Finder\Iterator\FilePathsIterator
Namespace: Symfony\Component\Finder\Iterator
Author: Jean-François Simon <contact@jfsimon.fr>
Located at finder/Symfony/Component/Finder/Iterator/FilePathsIterator.php
Methods summary
public
# __construct( array $paths, string $baseDir )

Parameters

$paths
array
$paths List of paths returned by shell command
$baseDir
string
$baseDir Base dir for relative path building

Overrides

ArrayIterator::__construct()
public mixed
# __call( string $name, array $arguments )

Parameters

$name
string
$name
$arguments
array
$arguments

Returns

mixed
public Symfony\Component\Finder\SplFileInfo
# current( )

Return an instance of SplFileInfo with support for relative paths.

Return an instance of SplFileInfo with support for relative paths.

Returns

Symfony\Component\Finder\SplFileInfo
File information

Overrides

ArrayIterator::current()
public string
# key( )

Returns

string

Overrides

ArrayIterator::key()
public
# next( )

Overrides

ArrayIterator::next()
public
# rewind( )

Overrides

ArrayIterator::rewind()
public string
# getSubPath( )

Returns

string
public string
# getSubPathname( )

Returns

string
Methods inherited from ArrayIterator
append(), asort(), count(), getArrayCopy(), getFlags(), ksort(), natcasesort(), natsort(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), seek(), serialize(), setFlags(), uasort(), uksort(), unserialize(), valid()
Constants inherited from ArrayIterator
ARRAY_AS_PROPS, STD_PROP_LIST
php-coveralls API documentation generated by ApiGen 2.8.0