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

  • Finder
  • Glob
  • SplFileInfo
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class SplFileInfo

Extends \SplFileInfo to support relative paths

SplFileInfo
Extended by Symfony\Component\Finder\SplFileInfo
Namespace: Symfony\Component\Finder
Author: Fabien Potencier <fabien@symfony.com>
Located at finder/Symfony/Component/Finder/SplFileInfo.php
Methods summary
public
# __construct( string $file, string $relativePath, string $relativePathname )

Constructor

Constructor

Parameters

$file
string
$file The file name
$relativePath
string
$relativePath The relative path
$relativePathname
string
$relativePathname The relative path name

Overrides

SplFileInfo::__construct()
public string
# getRelativePath( )

Returns the relative path

Returns the relative path

Returns

string
the relative path
public string
# getRelativePathname( )

Returns the relative path name

Returns the relative path name

Returns

string
the relative path name
public string
# getContents( )

Returns the contents of the file

Returns the contents of the file

Returns

string
the contents of the file

Throws

RuntimeException
Methods inherited from SplFileInfo
__toString(), _bad_state_ex(), getATime(), getBasename(), getCTime(), getExtension(), getFileInfo(), getFilename(), getGroup(), getInode(), getLinkTarget(), getMTime(), getOwner(), getPath(), getPathInfo(), getPathname(), getPerms(), getRealPath(), getSize(), getType(), isDir(), isExecutable(), isFile(), isLink(), isReadable(), isWritable(), openFile(), setFileClass(), setInfoClass()
php-coveralls API documentation generated by ApiGen 2.8.0