You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composite must be extends AbstractSpecification to chain multiple specifications.
Sample :
class specificationA extendsAbstractSpecification
{
...
}
class specificationB extendsAbstractSpecification
{
...
}
class specificationC extendsAbstractSpecification
{
...
}
$specificationA
->andX($specificationB)
->andX($specificationC);
Keep chain support to specification type composite
class specificationD extendsAndX
{
publicfunction__construct()
{
parent::__construct([
new specificationA(),
new specificationB(),
new specificationC()
]);
}
}
class specificationE extendsComposite
{
publicfunction__construct()
{
parent::__construct(
"MyOperator",
[
new specificationA(),
new specificationB(),
new specificationC()
]
);
}
}
$specificationD->andX($specificationE)->andX(...)
The text was updated successfully, but these errors were encountered:
Hi,
Composite must be extends AbstractSpecification to chain multiple specifications.
Sample :
Keep chain support to specification type composite
The text was updated successfully, but these errors were encountered: