original_string: public function &__get($name)
      {
          list($result, $found) = $this->peridotScanChildren($this, function ($childScope, &$accumulator) use ($name) {
              if (property_exists($childScope, $name)) {
                  $accumulator = [$childScope->$name, true, $childScope];
              }
          });
          if (!$found) {
              throw new DomainException("Scope property $name not found");
          }
          return $result;
      }
code: public function &__get($name)
      {
          list($result, $found) = $this->peridotScanChildren($this, function ($childScope, &$accumulator) use ($name) {
              if (property_exists($childScope, $name)) {
                  $accumulator = [$childScope->$name, true, $childScope];
              }
          });
          if (!$found) {
              throw new DomainException("Scope property $name not found");
          }
          return $result;
      }
code_tokens: public function & __get ( $ name ) { list ( $ result , $ found ) = $ this -> peridotScanChildren ( $ this , function ( $ childScope , & $ accumulator ) use ( $ name ) { if ( property_exists ( $ childScope , $ name ) ) { $ accumulator = [ $ childScope -> $ name , true , $ childScope ] ; } } ) ; if ( ! $ found ) { throw new DomainException ( "Scope property $name not found" ) ; } return $ result ; }
docstring: Lookup properties on child scopes.
  
  @param $name
  @return mixed
  @throws DomainException
docstring_tokens: Lookup properties on child scopes .