private function type($type) { $class = new \ReflectionClass('yii\\db\\Schema'); return $class->getShortName() . '::' . implode(array_keys($class->getConstants(), $type)); }