ReEncodedFile

in package
Implements File

Interfaces, Classes & Used Traits

File

Properties

private$path  : string                

private$contents  : \Symfony\Component\String\UnicodeString                

Methods

public__construct(string $path, UnicodeString $contents) : mixed

Parameters

$path : string
$contents : UnicodeString

Returns

mixed

Returns the content of the file as a string.

publicgetContents() : string

Returns

string

Returns md5 hash of the file.

publicmd5() : string

Returns

string

Returns an relative path to the file.

publicpath() : string

Returns

string