original_string: public function getInjects(&$attr)
      {
          $inject = array(
              'before' => '',
              'between' => '',
              'after' => ''
          );
  
          if (! empty($attr['before'])) {
              $inject['before'] = $attr['before'];
              unset($attr['before']);
          }
  
          if (! empty($attr['between'])) {
              $inject['between'] = $attr['between'];
              unset($attr['between']);
          }
  
          if (! empty($attr['after'])) {
              $inject['after'] = $attr['after'];
              unset($attr['after']);
          }
  
          return $inject;
      }
code: public function getInjects(&$attr)
      {
          $inject = array(
              'before' => '',
              'between' => '',
              'after' => ''
          );
  
          if (! empty($attr['before'])) {
              $inject['before'] = $attr['before'];
              unset($attr['before']);
          }
  
          if (! empty($attr['between'])) {
              $inject['between'] = $attr['between'];
              unset($attr['between']);
          }
  
          if (! empty($attr['after'])) {
              $inject['after'] = $attr['after'];
              unset($attr['after']);
          }
  
          return $inject;
      }
code_tokens: public function getInjects ( & $ attr ) { $ inject = array ( 'before' => '' , 'between' => '' , 'after' => '' ) ; if ( ! empty ( $ attr [ 'before' ] ) ) { $ inject [ 'before' ] = $ attr [ 'before' ] ; unset ( $ attr [ 'before' ] ) ; } if ( ! empty ( $ attr [ 'between' ] ) ) { $ inject [ 'between' ] = $ attr [ 'between' ] ; unset ( $ attr [ 'between' ] ) ; } if ( ! empty ( $ attr [ 'after' ] ) ) { $ inject [ 'after' ] = $ attr [ 'after' ] ; unset ( $ attr [ 'after' ] ) ; } return $ inject ; }
docstring: get injections from the attributes
  allows data to be entered before, between, after
  
  @param   array   attributes array (Passed by reference)
  @return  array
docstring_tokens: get injections from the attributes allows data to be entered before between after