yii\db\ColumnSchemaBuilder::buildCompleteString PHP Method

buildCompleteString() protected method

Returns the complete column definition from input format
Since: 2.0.8
protected buildCompleteString ( string $format ) : string
$format string the format of the definition.
return string a string containing the complete column definition.
    protected function buildCompleteString($format)
    {
        $placeholderValues = ['{type}' => $this->type, '{length}' => $this->buildLengthString(), '{unsigned}' => $this->buildUnsignedString(), '{notnull}' => $this->buildNotNullString(), '{unique}' => $this->buildUniqueString(), '{default}' => $this->buildDefaultString(), '{check}' => $this->buildCheckString(), '{comment}' => $this->buildCommentString(), '{pos}' => $this->isFirst ? $this->buildFirstString() : $this->buildAfterString(), '{append}' => $this->buildAppendString()];
        return strtr($format, $placeholderValues);
    }