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

        /** @var \Brainworxx\Krexx\Service\Reflection\ReflectionClass $ref */
        $ref = $this->parameters[static::PARAM_REF];

        // Get all public methods.
        $methodList = $ref->getMethods(\ReflectionMethod::IS_PUBLIC);

        $isInScope = $this->pool->scope->isInScope();
        if ($isInScope === true) {
            // Looks like we also need the protected and private methods.
            $methodList = array_merge(
                $methodList,
                $ref->getMethods(\ReflectionMethod::IS_PRIVATE | \ReflectionMethod::IS_PROTECTED)
            );
        }

        if (empty($methodList) === true) {
            // There are no methods in here, at all.
            return $output;
        }

        $this->populateGetterLists($methodList, $isInScope, $ref);

        if (empty($this->normalGetter) === true &&
            empty($this->isGetter) === true &&
            empty($this->hasGetter) === true
        ) {
            // There are no getter methods in here.
            return $output;
        }

        return $output .
            $this->pool->render->renderExpandableChild(
                $this->dispatchEventWithModel(
                    static::EVENT_MARKER_ANALYSES_END,
                    $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                        ->setName('Getter')
                        ->setType(static::TYPE_INTERNALS)
                        ->setHelpid('getterHelpInfo')
                        ->addParameter(static::PARAM_REF, $ref)
                        ->addParameter(static::PARAM_NORMAL_GETTER, $this->normalGetter)
                        ->addParameter(static::PARAM_IS_GETTER, $this->isGetter)
                        ->addParameter(static::PARAM_HAS_GETTER, $this->hasGetter)
                        ->injectCallback(
                            $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughGetter')
                        )
                )
            );
    }
public function callMe()
    {
        $output = $this->dispatchStartEvent();

        /** @var \Brainworxx\Krexx\Service\Reflection\ReflectionClass $ref */
        $ref = $this->parameters[static::PARAM_REF];

        // Get all public methods.
        $methodList = $ref->getMethods(\ReflectionMethod::IS_PUBLIC);

        $isInScope = $this->pool->scope->isInScope();
        if ($isInScope === true) {
            // Looks like we also need the protected and private methods.
            $methodList = array_merge(
                $methodList,
                $ref->getMethods(\ReflectionMethod::IS_PRIVATE | \ReflectionMethod::IS_PROTECTED)
            );
        }

        if (empty($methodList) === true) {
            // There are no methods in here, at all.
            return $output;
        }

        $this->populateGetterLists($methodList, $isInScope, $ref);

        if (empty($this->normalGetter) === true &&
            empty($this->isGetter) === true &&
            empty($this->hasGetter) === true
        ) {
            // There are no getter methods in here.
            return $output;
        }

        return $output .
            $this->pool->render->renderExpandableChild(
                $this->dispatchEventWithModel(
                    static::EVENT_MARKER_ANALYSES_END,
                    $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                        ->setName('Getter')
                        ->setType(static::TYPE_INTERNALS)
                        ->setHelpid('getterHelpInfo')
                        ->addParameter(static::PARAM_REF, $ref)
                        ->addParameter(static::PARAM_NORMAL_GETTER, $this->normalGetter)
                        ->addParameter(static::PARAM_IS_GETTER, $this->isGetter)
                        ->addParameter(static::PARAM_HAS_GETTER, $this->hasGetter)
                        ->injectCallback(
                            $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughGetter')
                        )
                )
            );
    }
public function callMe ( ) { $ output = $ this -> dispatchStartEvent ( ) ; /** @var \Brainworxx\Krexx\Service\Reflection\ReflectionClass $ref */ $ ref = $ this -> parameters [ static :: PARAM_REF ] ; // Get all public methods. $ methodList = $ ref -> getMethods ( \ ReflectionMethod :: IS_PUBLIC ) ; $ isInScope = $ this -> pool -> scope -> isInScope ( ) ; if ( $ isInScope === true ) { // Looks like we also need the protected and private methods. $ methodList = array_merge ( $ methodList , $ ref -> getMethods ( \ ReflectionMethod :: IS_PRIVATE | \ ReflectionMethod :: IS_PROTECTED ) ) ; } if ( empty ( $ methodList ) === true ) { // There are no methods in here, at all. return $ output ; } $ this -> populateGetterLists ( $ methodList , $ isInScope , $ ref ) ; if ( empty ( $ this -> normalGetter ) === true && empty ( $ this -> isGetter ) === true && empty ( $ this -> hasGetter ) === true ) { // There are no getter methods in here. return $ output ; } return $ output . $ this -> pool -> render -> renderExpandableChild ( $ this -> dispatchEventWithModel ( static :: EVENT_MARKER_ANALYSES_END , $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Model' ) -> setName ( 'Getter' ) -> setType ( static :: TYPE_INTERNALS ) -> setHelpid ( 'getterHelpInfo' ) -> addParameter ( static :: PARAM_REF , $ ref ) -> addParameter ( static :: PARAM_NORMAL_GETTER , $ this -> normalGetter ) -> addParameter ( static :: PARAM_IS_GETTER , $ this -> isGetter ) -> addParameter ( static :: PARAM_HAS_GETTER , $ this -> hasGetter ) -> injectCallback ( $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Iterate\\ThroughGetter' ) ) ) ) ; }
Dump the possible result of all getter methods

@return string
The generated markup.
Dump the possible result of all getter methods