src/Analyse/Callback/Iterate/ThroughLargeArray.php
protected function handleKey($key, Model $model)
    {
        if (is_string($key) === true) {
            $model->setName($this->pool->encodingService->encodeString($key))
                ->setConnectorType(Connectors::ASSOCIATIVE_ARRAY);

            return;
        }

        $model->setName($key)->setConnectorType(Connectors::NORMAL_ARRAY);
    }
protected function handleKey($key, Model $model)
    {
        if (is_string($key) === true) {
            $model->setName($this->pool->encodingService->encodeString($key))
                ->setConnectorType(Connectors::ASSOCIATIVE_ARRAY);

            return;
        }

        $model->setName($key)->setConnectorType(Connectors::NORMAL_ARRAY);
    }
protected function handleKey ( $ key , Model $ model ) { if ( is_string ( $ key ) === true ) { $ model -> setName ( $ this -> pool -> encodingService -> encodeString ( $ key ) ) -> setConnectorType ( Connectors :: ASSOCIATIVE_ARRAY ) ; return ; } $ model -> setName ( $ key ) -> setConnectorType ( Connectors :: NORMAL_ARRAY ) ; }
Adding quotation marks and a connector, depending on the type
of the key.

@param integer|string $key
The key (or name) of what we are analysing.
@param Model $model
The so far prepared model we are preparing further.
Adding quotation marks and a connector depending on the type of the key .