original_string: public function tabs(): array
      {
          if ( ! $this->layout || ! count($this->layout)) {
              return [];
          }
  
          $tabs = [];
  
          foreach ($this->layout as $key => $value) {
  
              if ($value instanceof ModelFormTabDataInterface) {
                  $tabs[ $key ] = $value;
              }
          }
  
          return $tabs;
      }
code: public function tabs(): array
      {
          if ( ! $this->layout || ! count($this->layout)) {
              return [];
          }
  
          $tabs = [];
  
          foreach ($this->layout as $key => $value) {
  
              if ($value instanceof ModelFormTabDataInterface) {
                  $tabs[ $key ] = $value;
              }
          }
  
          return $tabs;
      }
code_tokens: public function tabs ( ) : array { if ( ! $ this -> layout || ! count ( $ this -> layout ) ) { return [ ] ; } $ tabs = [ ] ; foreach ( $ this -> layout as $ key => $ value ) { if ( $ value instanceof ModelFormTabDataInterface ) { $ tabs [ $ key ] = $ value ; } } return $ tabs ; }
docstring: Returns only the tabs from the layout set.
  
  @return array|ModelFormTabData[]
docstring_tokens: Returns only the tabs from the layout set .