original_string: public static function getDimensions(Plugin $plugin)
      {
          $dimensions = $plugin->findMultipleComponents('Columns', '\\Piwik\\Plugin\\Dimension\\VisitDimension');
          $instances  = array();
  
          foreach ($dimensions as $dimension) {
              $instances[] = new $dimension();
          }
  
          return $instances;
      }
code: public static function getDimensions(Plugin $plugin)
      {
          $dimensions = $plugin->findMultipleComponents('Columns', '\\Piwik\\Plugin\\Dimension\\VisitDimension');
          $instances  = array();
  
          foreach ($dimensions as $dimension) {
              $instances[] = new $dimension();
          }
  
          return $instances;
      }
code_tokens: public static function getDimensions ( Plugin $ plugin ) { $ dimensions = $ plugin -> findMultipleComponents ( 'Columns' , '\\Piwik\\Plugin\\Dimension\\VisitDimension' ) ; $ instances = array ( ) ; foreach ( $ dimensions as $ dimension ) { $ instances [ ] = new $ dimension ( ) ; } return $ instances ; }
docstring: Get all visit dimensions that are defined by the given plugin.
  @param Plugin $plugin
  @return VisitDimension[]
  @ignore
docstring_tokens: Get all visit dimensions that are defined by the given plugin .