public function getGetters($excludeConstructor = false)
    {
        $methods = new BeanMethodCollection();

        foreach ($this->getProperties() as $prop) {
            if (($getterName = $this->hasGetter($prop->getName())) !== false) {

                if ($excludeConstructor === false || $this->hasConstructorParameter($prop->getName()) === false) {
                    $methods[] = new BeanMethod($this->getClass()->getName(), $getterName);
                }
            }
        }

        return $methods;
    }
public function getGetters($excludeConstructor = false)
    {
        $methods = new BeanMethodCollection();

        foreach ($this->getProperties() as $prop) {
            if (($getterName = $this->hasGetter($prop->getName())) !== false) {

                if ($excludeConstructor === false || $this->hasConstructorParameter($prop->getName()) === false) {
                    $methods[] = new BeanMethod($this->getClass()->getName(), $getterName);
                }
            }
        }

        return $methods;
    }
public function getGetters ( $ excludeConstructor = false ) { $ methods = new BeanMethodCollection ( ) ; foreach ( $ this -> getProperties ( ) as $ prop ) { if ( ( $ getterName = $ this -> hasGetter ( $ prop -> getName ( ) ) ) !== false ) { if ( $ excludeConstructor === false || $ this -> hasConstructorParameter ( $ prop -> getName ( ) ) === false ) { $ methods [ ] = new BeanMethod ( $ this -> getClass ( ) -> getName ( ) , $ getterName ) ; } } } return $ methods ; }
Get the valid bean getters of the bean.

@return \qtism\common\beans\BeanMethodCollection A collection of BeanMethod objects.
Get the valid bean getters of the bean .