Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
specificContent example
return
$this
->options;
}
public
function
getRecipientId
(
)
: ?string
{
return
null;
}
public
static
function
fromNotification
(
Notification
$notification
)
: self
{
$options
=
new
self
(
)
;
$options
->
specificContent
(
new
ShareContentShare
(
$notification
->
getSubject
(
)
)
)
;
if
(
$notification
->
getContent
(
)
)
{
$options
->
specificContent
(
new
ShareContentShare
(
$notification
->
getContent
(
)
)
)
;
}
$options
->
visibility
(
new
VisibilityShare
(
)
)
;
$options
->
lifecycleState
(
new
LifecycleStateShare
(
)
)
;
return
$options
;
}