<?php
/**
 * @file
 */

namespace CultuurNet\UDB3\EventExport\Format\HTML\Uitpas\DistributionKey;

use CultureFeed_Uitpas_DistributionKey;

class KansenTariefForOtherCardSystemsSpecification implements DistributionKeySpecification
{
    public function isSatisfiedBy(
        CultureFeed_Uitpas_DistributionKey $distributionKey
    ) {
        $satisfied = false;

        foreach ($distributionKey->conditions as $condition) {
            if ($condition->definition == $condition::DEFINITION_KANSARM &&
                $condition->value == $condition::VALUE_AT_LEAST_ONE_CARDSYSTEM
            ) {
                $satisfied = true;
                break;
            }
        }

        return $satisfied;
    }
}

<?php

namespace CultuurNet\UDB3\EventExport\Format\HTML\Uitpas\DistributionKey;

use CultureFeed_Uitpas_DistributionKey;

class KansentariefForOtherCardSystemsSpecification implements DistributionKeySpecification
{
    public function isSatisfiedBy(
        CultureFeed_Uitpas_DistributionKey $distributionKey
    ) {
        $satisfied = false;

        foreach ($distributionKey->conditions as $condition) {
            if ($condition->definition == $condition::DEFINITION_KANSARM &&
                $condition->value == $condition::VALUE_AT_LEAST_ONE_CARDSYSTEM
            ) {
                $satisfied = true;
                break;
            }
        }

        return $satisfied;
    }
}

Fix kansentarif class name casing
III-893: Fix kansentarif class name casing
