Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getDailyVisitors example
/** * @return void */
public
function
getOverviewAction
(
)
{
$turnover
=
$this
->
getRepository
(
)
->
getDailyTurnover
(
$this
->
getFromDate
(
)
,
$this
->
getToDate
(
)
)
;
$visitors
=
$this
->
getRepository
(
)
->
getDailyVisitors
(
$this
->
getFromDate
(
)
,
$this
->
getToDate
(
)
)
;
$registrations
=
$this
->
getRepository
(
)
->
getDailyRegistrations
(
$this
->
getFromDate
(
)
,
$this
->
getToDate
(
)
)
;
$turnover
=
array_map
(
function
D
$turnoverItem
)
{
return
reset
(
$turnoverItem
)
;
}
,