/**
  * Handle the command.
  *
  * @param VariableRepositoryInterface $variables
  * @return mixed
  */
 public function handle(VariableRepositoryInterface $variables)
 {
     if (!($group = $variables->group($this->group))) {
         return null;
     }
     return $group->getAttribute($this->field);
 }
 /**
  * Handle the command.
  *
  * @param VariableRepositoryInterface $variables
  * @return VariablePresenter
  */
 public function handle(VariableRepositoryInterface $variables)
 {
     if (!($group = $variables->group($this->group))) {
         return null;
     }
     return (new Decorator())->decorate($group)->{$this->field};
 }
 /**
  * Handle the command.
  *
  * @param VariableRepositoryInterface $variables
  * @return EntryModel
  */
 public function handle(VariableRepositoryInterface $variables)
 {
     return $variables->group($this->group);
 }