\Anax\ContentCFileContent

A read content from filesystem.

Summary

Methods
Properties
Constants
get()
setBasePath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$path
N/A

Properties

$path

$path : 

Properties

Type

Methods

get()

get(string  $file) : string

Get file as content.

Parameters

string $file

with content

Throws

\Anax\Content\Exception

when file does not exist

Returns

string —

as content of the file

setBasePath()

setBasePath(string  $path) : $this

Set base path where to find content.

Parameters

string $path

where content reside

Returns

$this