original_string: public function get_slot_tags_for_slot_id($slotid) {
          if (!$this->hasloadedtags) {
              // Lazy load the tags just in case they are never required.
              $this->populate_slot_tags();
              $this->hasloadedtags = true;
          }
  
          return isset($this->slottags[$slotid]) ? $this->slottags[$slotid] : [];
      }
code: public function get_slot_tags_for_slot_id($slotid) {
          if (!$this->hasloadedtags) {
              // Lazy load the tags just in case they are never required.
              $this->populate_slot_tags();
              $this->hasloadedtags = true;
          }
  
          return isset($this->slottags[$slotid]) ? $this->slottags[$slotid] : [];
      }
code_tokens: public function get_slot_tags_for_slot_id ( $ slotid ) { if ( ! $ this -> hasloadedtags ) { // Lazy load the tags just in case they are never required. $ this -> populate_slot_tags ( ) ; $ this -> hasloadedtags = true ; } return isset ( $ this -> slottags [ $ slotid ] ) ? $ this -> slottags [ $ slotid ] : [ ] ; }
docstring: Retrieve the list of slot tags for the given slot id.
  
  @param  int $slotid The id for the slot
  @return \stdClass[] The list of slot tag records
docstring_tokens: Retrieve the list of slot tags for the given slot id .