original_string: public function initInternArray($array = [], $internCall = false)
      {
          if (is_array($array) && count($array) > 0) {
              $this
                  ->setInternArray($array)
                  ->setInternArrayOffset(0)
                  ->setInternArrayIsArray(true);
          } elseif (!$internCall && property_exists($this, $this->getAttributeName())) {
              $this->initInternArray($this->_get($this->getAttributeName()), true);
          }
          return $this;
      }
code: public function initInternArray($array = [], $internCall = false)
      {
          if (is_array($array) && count($array) > 0) {
              $this
                  ->setInternArray($array)
                  ->setInternArrayOffset(0)
                  ->setInternArrayIsArray(true);
          } elseif (!$internCall && property_exists($this, $this->getAttributeName())) {
              $this->initInternArray($this->_get($this->getAttributeName()), true);
          }
          return $this;
      }
code_tokens: public function initInternArray ( $ array = [ ] , $ internCall = false ) { if ( is_array ( $ array ) && count ( $ array ) > 0 ) { $ this -> setInternArray ( $ array ) -> setInternArrayOffset ( 0 ) -> setInternArrayIsArray ( true ) ; } elseif ( ! $ internCall && property_exists ( $ this , $ this -> getAttributeName ( ) ) ) { $ this -> initInternArray ( $ this -> _get ( $ this -> getAttributeName ( ) ) , true ) ; } return $ this ; }
docstring: Method initiating internArray
  @uses AbstractStructArrayBase::setInternArray()
  @uses AbstractStructArrayBase::setInternArrayOffset()
  @uses AbstractStructArrayBase::setInternArrayIsArray()
  @uses AbstractStructArrayBase::getAttributeName()
  @uses AbstractStructArrayBase::initInternArray()
  @uses AbstractStructArrayBase::__toString()
  @param array $array the array to iterate trough
  @param bool $internCall indicates that methods is calling itself
  @return AbstractStructArrayBase
docstring_tokens: Method initiating internArray