original_string: public function getAction($state)
      {
          $type = self::getType('strtolower', false);
          $action = self::$defaultAction[$type];
  
          if (isset($this->states['action'])) {
              $action = $this->states['action'];
          }
  
          return ($state === 'uninstalled') ? '' : $action;
      }
code: public function getAction($state)
      {
          $type = self::getType('strtolower', false);
          $action = self::$defaultAction[$type];
  
          if (isset($this->states['action'])) {
              $action = $this->states['action'];
          }
  
          return ($state === 'uninstalled') ? '' : $action;
      }
code_tokens: public function getAction ( $ state ) { $ type = self :: getType ( 'strtolower' , false ) ; $ action = self :: $ defaultAction [ $ type ] ; if ( isset ( $ this -> states [ 'action' ] ) ) { $ action = $ this -> states [ 'action' ] ; } return ( $ state === 'uninstalled' ) ? '' : $ action ; }
docstring: Get complement action.
  
  @param string $state → complement state
  
  @uses \Eliasis\Complement\ComplementState->$states
  @uses \Eliasis\Complement\Traits\ComplementHandler::getType()
  
  @return string → complement action
docstring_tokens: Get complement action .