Storm\Drivers\Base\Object\Criteria\MatchesCriterion::__construct PHP Метод

__construct() публичный Метод

public __construct ( PropertyData $PropertyData )
$PropertyData Storm\Core\Object\PropertyData
    public function __construct(Object\PropertyData $PropertyData)
    {
        parent::__construct($PropertyData->GetEntityType());
        foreach ($PropertyData as $PropertyIdentifier => $Value) {
            $Property = $PropertyData->GetProperty($PropertyIdentifier);
            $this->AddPredicate(Expression::BinaryOperation(Expression::Property($Property), Operators\Binary::Identity, Expression::Constant($Value)));
        }
    }
MatchesCriterion