PHP Class Demo\Example\CacheableDemo

Datei anzeigen Open project: goaop/framework Class Usage Examples

Public Methods

Method Description
getReport ( string $from ) : string Returns a report and explicitly cache a result for future use

Method Details

getReport() public method

In this example we use "Cacheable" annotation to explicit mark a method
public getReport ( string $from ) : string
$from string This can be any value
return string