src/PeekAndPoke/Component/Formal/Accessor/PublicGetterSetterAccessor.php
private function getReadMethod($key, \ReflectionClass $reflect)
    {
        $ucFirstKey = ucfirst($key);

        $getter = $this->getNonStaticPublicMethod('get' . $ucFirstKey, $reflect);
        if ($getter) {
            return $getter;
        }

        $isser = $this->getNonStaticPublicMethod('is' . $ucFirstKey, $reflect);
        if ($isser) {
            return $isser;
        }

        return $this->getNonStaticPublicMethod('has' . $ucFirstKey, $reflect);
    }
private function getReadMethod($key, \ReflectionClass $reflect)
    {
        $ucFirstKey = ucfirst($key);

        $getter = $this->getNonStaticPublicMethod('get' . $ucFirstKey, $reflect);
        if ($getter) {
            return $getter;
        }

        $isser = $this->getNonStaticPublicMethod('is' . $ucFirstKey, $reflect);
        if ($isser) {
            return $isser;
        }

        return $this->getNonStaticPublicMethod('has' . $ucFirstKey, $reflect);
    }
@param string           $key
@param \ReflectionClass $reflect

@return null|\ReflectionMethod