PHP Trait M1\Vars\Traits\FileTrait

Since: 0.1.0
Datei anzeigen Open project: m1/Vars

Public Methods

Method Description
getFile ( ) : string Returns the passed file

Private Methods

Method Description
getSupportedLoader ( string $data ) : mixed Gets the supported loader for the passed file
loadContent ( string $data ) : mixed Loads raw content from the file
validate ( ) Validates the file passed to see if it is a file and is readable

Method Details

getFile() public method

Returns the passed file
public getFile ( ) : string
return string The passed file