You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
453 B
22 lines
453 B
<?php |
|
|
|
namespace yii\db\conditions; |
|
|
|
/** |
|
* Condition that connects two or more SQL expressions with the `AND` operator. |
|
* |
|
* @author Dmytro Naumenko <d.naumenko.a@gmail.com> |
|
* @since 2.0.14 |
|
*/ |
|
class AndCondition extends ConjunctionCondition |
|
{ |
|
/** |
|
* Returns the operator that is represented by this condition class, e.g. `AND`, `OR`. |
|
* |
|
* @return string |
|
*/ |
|
public function getOperator() |
|
{ |
|
return 'AND'; |
|
} |
|
}
|
|
|