src/Analyse/Callback/Analyse/Objects.php
public function callMe()
    {
        $output = $this->pool->render->renderSingeChildHr() . $this->dispatchStartEvent();

        $ref = $this->parameters[static::PARAM_REF] = new ReflectionClass($this->parameters[static::PARAM_DATA]);

        // Dumping public properties.
        $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\PublicProperties');

        // Dumping getter methods.
        // We will not dump the getters for internal classes, though.
        if ($this->pool->config->getSetting(Fallback::SETTING_ANALYSE_GETTER) === true &&
            $ref->isUserDefined() === true
        ) {
            $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Getter');
        }

        // When analysing an error object, get the backtrace and then analyse it.
        $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\ErrorObject');

        // Dumping protected properties.
        if ($this->pool->config->getSetting(Fallback::SETTING_ANALYSE_PROTECTED) === true ||
            $this->pool->scope->isInScope() === true
        ) {
            $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\ProtectedProperties');
        }

        // Dumping private properties.
        if ($this->pool->config->getSetting(Fallback::SETTING_ANALYSE_PRIVATE) === true ||
            $this->pool->scope->isInScope() === true
        ) {
            $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\PrivateProperties');
        }

        // Dumping class constants.
        $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Constants');

        // Dumping all methods.
        $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Methods');

        // Dumping traversable data.
        if ($this->pool->config->getSetting(Fallback::SETTING_ANALYSE_TRAVERSABLE) === true &&
            $this->parameters[static::PARAM_DATA] instanceof \Traversable
        ) {
            $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Traversable');
        }

        // Dumping all configured debug functions.
        // Adding a HR for a better readability.
        return $output .
            $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\DebugMethods') .
            $this->pool->render->renderSingeChildHr();
    }
public function callMe()
    {
        $output = $this->pool->render->renderSingeChildHr() . $this->dispatchStartEvent();

        $ref = $this->parameters[static::PARAM_REF] = new ReflectionClass($this->parameters[static::PARAM_DATA]);

        // Dumping public properties.
        $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\PublicProperties');

        // Dumping getter methods.
        // We will not dump the getters for internal classes, though.
        if ($this->pool->config->getSetting(Fallback::SETTING_ANALYSE_GETTER) === true &&
            $ref->isUserDefined() === true
        ) {
            $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Getter');
        }

        // When analysing an error object, get the backtrace and then analyse it.
        $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\ErrorObject');

        // Dumping protected properties.
        if ($this->pool->config->getSetting(Fallback::SETTING_ANALYSE_PROTECTED) === true ||
            $this->pool->scope->isInScope() === true
        ) {
            $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\ProtectedProperties');
        }

        // Dumping private properties.
        if ($this->pool->config->getSetting(Fallback::SETTING_ANALYSE_PRIVATE) === true ||
            $this->pool->scope->isInScope() === true
        ) {
            $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\PrivateProperties');
        }

        // Dumping class constants.
        $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Constants');

        // Dumping all methods.
        $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Methods');

        // Dumping traversable data.
        if ($this->pool->config->getSetting(Fallback::SETTING_ANALYSE_TRAVERSABLE) === true &&
            $this->parameters[static::PARAM_DATA] instanceof \Traversable
        ) {
            $output .= $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Traversable');
        }

        // Dumping all configured debug functions.
        // Adding a HR for a better readability.
        return $output .
            $this->dumpStuff('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\DebugMethods') .
            $this->pool->render->renderSingeChildHr();
    }
public function callMe ( ) { $ output = $ this -> pool -> render -> renderSingeChildHr ( ) . $ this -> dispatchStartEvent ( ) ; $ ref = $ this -> parameters [ static :: PARAM_REF ] = new ReflectionClass ( $ this -> parameters [ static :: PARAM_DATA ] ) ; // Dumping public properties. $ output .= $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\PublicProperties' ) ; // Dumping getter methods. // We will not dump the getters for internal classes, though. if ( $ this -> pool -> config -> getSetting ( Fallback :: SETTING_ANALYSE_GETTER ) === true && $ ref -> isUserDefined ( ) === true ) { $ output .= $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Getter' ) ; } // When analysing an error object, get the backtrace and then analyse it. $ output .= $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\ErrorObject' ) ; // Dumping protected properties. if ( $ this -> pool -> config -> getSetting ( Fallback :: SETTING_ANALYSE_PROTECTED ) === true || $ this -> pool -> scope -> isInScope ( ) === true ) { $ output .= $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\ProtectedProperties' ) ; } // Dumping private properties. if ( $ this -> pool -> config -> getSetting ( Fallback :: SETTING_ANALYSE_PRIVATE ) === true || $ this -> pool -> scope -> isInScope ( ) === true ) { $ output .= $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\PrivateProperties' ) ; } // Dumping class constants. $ output .= $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Constants' ) ; // Dumping all methods. $ output .= $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Methods' ) ; // Dumping traversable data. if ( $ this -> pool -> config -> getSetting ( Fallback :: SETTING_ANALYSE_TRAVERSABLE ) === true && $ this -> parameters [ static :: PARAM_DATA ] instanceof \ Traversable ) { $ output .= $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\Traversable' ) ; } // Dumping all configured debug functions. // Adding a HR for a better readability. return $ output . $ this -> dumpStuff ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\Objects\\DebugMethods' ) . $ this -> pool -> render -> renderSingeChildHr ( ) ; }
Starts the dump of an object.

@throws \ReflectionException

@return string
The generated markup.
Starts the dump of an object .