Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
isEvent example
if
(
$this
->
hasInternalComment
(
$node
)
)
{
return
[
]
;
}
$class
=
$scope
->
getClassReflection
(
)
;
// complete class is marked as internal
if
(
$class
!== null &&
$class
->
isInternal
(
)
)
{
return
[
]
;
}
if
(
$this
->
isConstructor
(
$node
)
)
{
if
(
$this
->
isEvent
(
$scope
)
)
{
return
[
]
;
}
if
(
$this
->
isService
(
$scope
)
)
{
return
[
'__construct of di container services has to be @internal'
]
;
}
}
return
[
]
;
}