code: public function styleWasCalled($name)
      {
          $name = $this->snakeCase($name);
          $supportedStyles = $this->getSupportedStyles();
  
          if ($code = $this->searchStyle($name, $supportedStyles)) {
              $this->mergeToCurrent($code);
  
              return true;
          }
  
          throw new StyleNotFoundException("Invalid style {$name}.");
      }
docs: @param string $name
  
  @throws StyleNotFoundException
  
  @return bool