We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Composite must be extends AbstractSpecification to chain multiple specifications.
Sample :
class specificationA extends AbstractSpecification { ... } class specificationB extends AbstractSpecification { ... } class specificationC extends AbstractSpecification { ... } $specificationA ->andX($specificationB) ->andX($specificationC);
Keep chain support to specification type composite
class specificationD extends AndX { public function __construct() { parent::__construct([ new specificationA(), new specificationB(), new specificationC() ]); } } class specificationE extends Composite { public function __construct() { parent::__construct( "MyOperator", [ new specificationA(), new specificationB(), new specificationC() ] ); } } $specificationD->andX($specificationE)->andX(...)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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: