PHP Class Demo\Example\CacheableDemo

Afficher le fichier Open project: goaop/framework Class Usage Examples

Méthodes publiques

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

Method Details

getReport() public méthode

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