Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Demo
Example
CacheableDemo
PHP Class Demo\Example\CacheableDemo
Show file
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