Docs
Addons
Community
News
Documentation
/
API
BearFramework\App\Assets::getContent
Returns the content of the file specified.
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, data-uri, data-uri-base64).
Returns
The content of the file or null if file does not exists.
Details
BearFramework\App\Assets
Location: ~/src/App/Assets.php
back to index
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.