bat-8.x-1.x-dev/modules/bat_roomify/src/Constraint/Constraint.php

modules/bat_roomify/src/Constraint/Constraint.php
<?php

/**
 * @file
 * Class Constraint
 */

namespace Drupal\bat_roomify\Constraint;

use Drupal\bat_roomify\Constraint\ConstraintInterface;


/**
 * A constraint acts as a filter that can be applied to a Calendar Response to
 * further reduce the set of matching units. Constraints allow developers to add
 * additional criteria that go beyond the specific value a unit finds itself in for
 * a give time range.
 */
class Constraint extends AbstractConstraint {

  /**
   * @param $units
   */
  public function __construct($units = array()) {
    $this->units = $units;
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc