Ejemplo n.º 1
0
 /**
  * Handle the command.
  *
  * @param CacheManager       $cache
  * @param FieldMigrator      $fields
  * @param StreamMigrator     $streams
  * @param AssignmentMigrator $assignments
  */
 public function handle(CacheManager $cache, FieldMigrator $fields, StreamMigrator $streams, AssignmentMigrator $assignments)
 {
     $assignments->reset($this->migration);
     $fields->reset($this->migration);
     $streams->reset($this->migration);
     $cache->flush();
 }
Ejemplo n.º 2
0
 /**
  * Handle the command.
  *
  * @param FieldMigrator      $fields
  * @param StreamMigrator     $streams
  * @param AssignmentMigrator $assignments
  */
 public function handle(FieldMigrator $fields, StreamMigrator $streams, AssignmentMigrator $assignments)
 {
     $fields->migrate($this->migration);
     $streams->migrate($this->migration);
     $assignments->migrate($this->migration);
 }