original_string: public function getTargets()
      {
          if (!is_array($this->_targets)) {
              $this->_targets = array();
              if($this->_getTargetMap()) {
                  foreach ($this->_getTargetMap() as $_target) {
                      $this->_targets[$_target['name']] = (string)$_target['uri'];
                  }
              }
          }
          return $this->_targets;
      }
code: public function getTargets()
      {
          if (!is_array($this->_targets)) {
              $this->_targets = array();
              if($this->_getTargetMap()) {
                  foreach ($this->_getTargetMap() as $_target) {
                      $this->_targets[$_target['name']] = (string)$_target['uri'];
                  }
              }
          }
          return $this->_targets;
      }
code_tokens: public function getTargets ( ) { if ( ! is_array ( $ this -> _targets ) ) { $ this -> _targets = array ( ) ; if ( $ this -> _getTargetMap ( ) ) { foreach ( $ this -> _getTargetMap ( ) as $ _target ) { $ this -> _targets [ $ _target [ 'name' ] ] = ( string ) $ _target [ 'uri' ] ; } } } return $ this -> _targets ; }
docstring: Retrieve targets as associative array from target.xml.
  
  @return array
docstring_tokens: Retrieve targets as associative array from target . xml .