<?php/** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */namespaceyii\db;/** * IndexConstraint represents the metadata of a table `INDEX` constraint. * * @author Sergey Makinen <sergey@makinen.ru> * @since 2.0.13 */classIndexConstraintextendsConstraint{/** * @var bool whether the index is unique. */public$isUnique;/** * @var bool whether the index was created for a primary key. */public$isPrimary;}