src/Database/Migration/Schema/Command.php
/**
	 * Compiles the command as an index.
	 *
	 * @return string
	 */
Compiles the command as an index.
@return string
Compiles the command as an index . @return string
private function compileDropIndex() {
		$indexName = array_get($this->parameters, 'index');
		return str_join(
			'DROP',
			Grammar::getKey($this->name),
			$this->name !== 'dropPrimary' ? Grammar::compileName($indexName) : ''
		);
	}
private function compileDropIndex ( ) { $ indexName = array_get ( $ this -> parameters , 'index' ) ; return str_join ( 'DROP' , Grammar :: getKey ( $ this -> name ) , $ this -> name !== 'dropPrimary' ? Grammar :: compileName ( $ indexName ) : '' ) ; }
Compiles the command as an index.
Compiles the command as an index .