/**
  * Handle the command.
  *
  * @param  CreateKeyCommand  $command
  * @return void
  */
 public function handle(CreateKeyCommand $command)
 {
     $key = Key::create(['colour' => $command->colour, 'title' => $command->title, 'description' => $command->description]);
     if (!empty($key)) {
         return $key;
     }
     return false;
 }
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     DB::table('keys')->delete();
     $testmodpack = Key::create(array('name' => 'TestKey', 'api_key' => 'sfIvEcNueZtwKsTAIYOIYng1iuPAgavJsfIvEcNueZtwKsTAIYOIYng1iuPAgavJ'));
 }