chrisandchris/passive-record-orm

View on GitHub
src/ChrisAndChris/Common/RowMapperBundle/Entity/Search/FilterCondition.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace ChrisAndChris\Common\RowMapperBundle\Entity\Search;

/**
 * @name FilterCondition
 * @version    1
 * @since      v2.1.0
 * @package    RowMapperBundle
 * @author     ChrisAndChris
 * @link       https://github.com/chrisandchris
 */
class FilterCondition
{

    /** @var string */
    public $table;
    /** @var string */
    public $field;
    /** @var string */
    public $requestValue;

    /**
     * @param string $table
     * @param string $field
     * @param string $requestedValue
     */
    public function __construct($table, $field, $requestedValue)
    {
        $this->table = $table;
        $this->field = $field;
        $this->requestValue = $requestedValue;
    }
}