You are a developer and looking for Shopware projects?
Apply Now!
CacheableTestDomainObject example
public
function
domainObjectWithAttachments
(
)
{
return
new
AttachmentsTestDomainObject
(
)
;
}
public
function
domainObjectWithAttachmentsEarly
(
)
{
$render_array
=
$this
->
earlyRenderContent
(
)
;
$this
->renderer->
render
(
$render_array
)
;
return
new
AttachmentsTestDomainObject
(
)
;
}
public
function
cacheableDomainObject
(
)
{
return
new
CacheableTestDomainObject
(
)
;
}
public
function
cacheableDomainObjectEarly
(
)
{
$render_array
=
$this
->
earlyRenderContent
(
)
;
$this
->renderer->
render
(
$render_array
)
;
return
new
CacheableTestDomainObject
(
)
;
}
}