PHP Class Fakerino\DataSource\File\File

Author: Nicola Pietroluongo ([email protected])
Inheritance: extends SplFileInfo
Afficher le fichier Open project: fakerino/fakerino Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $path ) Constructor
getContent ( ) : string
getExtension ( ) : string
getFileName ( ) : string
getMimeType ( ) : mixed
getPath ( ) : string
readLine ( integer $lineNumber ) : string

Method Details

__construct() public méthode

Constructor
public __construct ( string $path )
$path string

getContent() public méthode

public getContent ( ) : string
Résultat string

getExtension() public méthode

public getExtension ( ) : string
Résultat string

getFileName() public méthode

public getFileName ( ) : string
Résultat string

getMimeType() public méthode

public getMimeType ( ) : mixed
Résultat mixed

getPath() public méthode

public getPath ( ) : string
Résultat string

readLine() public méthode

public readLine ( integer $lineNumber ) : string
$lineNumber integer
Résultat string