original_string: public function createTable($name, Array $columns, $safe_create = false)
  	{
  		if( (! $safe_create) || ($safe_create && ! Schema::connection($this->connection)->hasTable('users')) )
  		{
  			// dtop table if exists
  			if (Schema::connection($this->connection)->hasTable($name))
  			{
  				Schema::connection($this->connection)->drop($name);
  			}
  			
  			Schema::connection($this->connection)->create($name, function($table) use ($columns)
  			{
  				foreach($columns as $name => $type)
  				{
  		    		$table->$type($name);
  		    	}
  			});
  		}
  	}
code: public function createTable($name, Array $columns, $safe_create = false)
  	{
  		if( (! $safe_create) || ($safe_create && ! Schema::connection($this->connection)->hasTable('users')) )
  		{
  			// dtop table if exists
  			if (Schema::connection($this->connection)->hasTable($name))
  			{
  				Schema::connection($this->connection)->drop($name);
  			}
  			
  			Schema::connection($this->connection)->create($name, function($table) use ($columns)
  			{
  				foreach($columns as $name => $type)
  				{
  		    		$table->$type($name);
  		    	}
  			});
  		}
  	}
code_tokens: public function createTable ( $ name , Array $ columns , $ safe_create = false ) { if ( ( ! $ safe_create ) || ( $ safe_create && ! Schema :: connection ( $ this -> connection ) -> hasTable ( 'users' ) ) ) { // dtop table if exists if ( Schema :: connection ( $ this -> connection ) -> hasTable ( $ name ) ) { Schema :: connection ( $ this -> connection ) -> drop ( $ name ) ; } Schema :: connection ( $ this -> connection ) -> create ( $ name , function ( $ table ) use ( $ columns ) { foreach ( $ columns as $ name => $ type ) { $ table -> $ type ( $ name ) ; } } ) ; } }
docstring: Create a table schme with the given columns
  
  @param  $name table name
  @param  Array $columns "type" => "name"
  @param  $safe_create if is enabled doesnt create a table if already exists
docstring_tokens: Create a table schme with the given columns