src/EntitySpecificationRepositoryTrait.php
public function match($specification, ResultModifier $modifier = null)
    {
        $query = $this->getQuery($specification, $modifier);

        return $query->execute();
    }
public function match($specification, ResultModifier $modifier = null)
    {
        $query = $this->getQuery($specification, $modifier);

        return $query->execute();
    }
public function match ( $ specification , ResultModifier $ modifier = null ) { $ query = $ this -> getQuery ( $ specification , $ modifier ) ; return $ query -> execute ( ) ; }
Get results when you match with a Specification.

@param Filter|QueryModifier $specification
@param ResultModifier|null  $modifier

@return mixed[]
Get results when you match with a Specification .