BearFramework\App\Context\Assets::getContent

Returns the content of the file specified in the current context.
public string|null getContent string $filename [, array $options = [] ] )
Parameters
filename
The filename.
options
List of options. You can resize the file by providing "width", "height" or both. You can specify encoding too (base64 or data-uri).
Returns
The content of the file or null if file does not exists.
Details
Location: ~/src/App/Context/Assets.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.