src/Analyse/Routing/Process/ProcessArray.php
public function process(Model $model)
    {
        $multiline = false;
        $count = count($model->getData());

        if ($count > (int) $this->pool->config->getSetting(Fallback::SETTING_ARRAY_COUNT_LIMIT)) {
            // Budget array analysis.
            $model->injectCallback(
                $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughLargeArray')
            )->setHelpid('simpleArray');
        } else {
            // Complete array analysis.
            $model->injectCallback(
                $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughArray')
            );
        }

        // Dumping all Properties.
        return $this->pool->render->renderExpandableChild(
            $model->setType(static::TYPE_ARRAY)
                ->setNormal($count . ' elements')
                ->addParameter(static::PARAM_DATA, $model->getData())
                ->addParameter(static::PARAM_MULTILINE, $multiline)
        );
    }
public function process(Model $model)
    {
        $multiline = false;
        $count = count($model->getData());

        if ($count > (int) $this->pool->config->getSetting(Fallback::SETTING_ARRAY_COUNT_LIMIT)) {
            // Budget array analysis.
            $model->injectCallback(
                $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughLargeArray')
            )->setHelpid('simpleArray');
        } else {
            // Complete array analysis.
            $model->injectCallback(
                $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughArray')
            );
        }

        // Dumping all Properties.
        return $this->pool->render->renderExpandableChild(
            $model->setType(static::TYPE_ARRAY)
                ->setNormal($count . ' elements')
                ->addParameter(static::PARAM_DATA, $model->getData())
                ->addParameter(static::PARAM_MULTILINE, $multiline)
        );
    }
public function process ( Model $ model ) { $ multiline = false ; $ count = count ( $ model -> getData ( ) ) ; if ( $ count > ( int ) $ this -> pool -> config -> getSetting ( Fallback :: SETTING_ARRAY_COUNT_LIMIT ) ) { // Budget array analysis. $ model -> injectCallback ( $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughLargeArray' ) ) -> setHelpid ( 'simpleArray' ) ; } else { // Complete array analysis. $ model -> injectCallback ( $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughArray' ) ) ; } // Dumping all Properties. return $ this -> pool -> render -> renderExpandableChild ( $ model -> setType ( static :: TYPE_ARRAY ) -> setNormal ( $ count . ' elements' ) -> addParameter ( static :: PARAM_DATA , $ model -> getData ( ) ) -> addParameter ( static :: PARAM_MULTILINE , $ multiline ) ) ; }
Render a dump for an array.

@param Model $model
The data we are analysing.

@return string
The rendered markup.
Render a dump for an array .