original_string: public static function get_declared_target_and_indicators_instances(array $definition): array {
  
          $target = static::get_target($definition['target']);
  
          $indicators = [];
  
          foreach ($definition['indicators'] as $indicatorname) {
              $indicator = static::get_indicator($indicatorname);
              $indicators[$indicator->get_id()] = $indicator;
          }
  
          return [$target, $indicators];
      }
code: public static function get_declared_target_and_indicators_instances(array $definition): array {
  
          $target = static::get_target($definition['target']);
  
          $indicators = [];
  
          foreach ($definition['indicators'] as $indicatorname) {
              $indicator = static::get_indicator($indicatorname);
              $indicators[$indicator->get_id()] = $indicator;
          }
  
          return [$target, $indicators];
      }
code_tokens: public static function get_declared_target_and_indicators_instances ( array $ definition ) : array { $ target = static :: get_target ( $ definition [ 'target' ] ) ; $ indicators = [ ] ; foreach ( $ definition [ 'indicators' ] as $ indicatorname ) { $ indicator = static :: get_indicator ( $ indicatorname ) ; $ indicators [ $ indicator -> get_id ( ) ] = $ indicator ; } return [ $ target , $ indicators ] ; }
docstring: Given a model definition, return actual target and indicators instances.
  
  @param array $definition See {@link self::validate_models_declaration()} for the syntax.
  @return array [0] => target instance, [1] => array of indicators instances
docstring_tokens: Given a model definition return actual target and indicators instances .