/**
  * Handle the command.
  *
  * @param Repository $config
  * @return string
  */
 public function handle(Repository $config)
 {
     return '/' . $config->get('anomaly.module.posts::paths.module') . '/' . $config->get('anomaly.module.posts::paths.category') . '/' . $this->category->getSlug();
 }
 public function handle(SettingRepositoryInterface $settings)
 {
     return $settings->get('anomaly.module.posts::module_segment', 'posts') . '/' . $settings->get('anomaly.module.posts::category_segment', 'category') . '/' . $this->category->getSlug();
 }