public function getMethodNameGet()
    {
        $methodName = str_replace(' ', '', ucwords(str_replace(array(
            '_is_', '_has_', '_in_', '_',
        ), ' ', strtolower($this->getName(true)))));

        $type = $this->getType();

        switch (true) {
            case ($type instanceof Type\TypeBool) && stripos($this->getName(), '_has_') !== false:
                $methodPrefix = 'has';
                break;
            case ($type instanceof Type\TypeBool) && stripos($this->getName(), '_is_') !== false:
                $methodPrefix = 'is';
                break;
            case ($type instanceof Type\TypeBool) && stripos($this->getName(), '_in_') !== false:
                $methodPrefix = 'in';
                break;
            default:
                $methodPrefix = 'get';
                break;
        }

        return $methodPrefix . $methodName;
    }
public function getMethodNameGet()
    {
        $methodName = str_replace(' ', '', ucwords(str_replace(array(
            '_is_', '_has_', '_in_', '_',
        ), ' ', strtolower($this->getName(true)))));

        $type = $this->getType();

        switch (true) {
            case ($type instanceof Type\TypeBool) && stripos($this->getName(), '_has_') !== false:
                $methodPrefix = 'has';
                break;
            case ($type instanceof Type\TypeBool) && stripos($this->getName(), '_is_') !== false:
                $methodPrefix = 'is';
                break;
            case ($type instanceof Type\TypeBool) && stripos($this->getName(), '_in_') !== false:
                $methodPrefix = 'in';
                break;
            default:
                $methodPrefix = 'get';
                break;
        }

        return $methodPrefix . $methodName;
    }
public function getMethodNameGet ( ) { $ methodName = str_replace ( ' ' , '' , ucwords ( str_replace ( array ( '_is_' , '_has_' , '_in_' , '_' , ) , ' ' , strtolower ( $ this -> getName ( true ) ) ) ) ) ; $ type = $ this -> getType ( ) ; switch ( true ) { case ( $ type instanceof Type \ TypeBool ) && stripos ( $ this -> getName ( ) , '_has_' ) !== false : $ methodPrefix = 'has' ; break ; case ( $ type instanceof Type \ TypeBool ) && stripos ( $ this -> getName ( ) , '_is_' ) !== false : $ methodPrefix = 'is' ; break ; case ( $ type instanceof Type \ TypeBool ) && stripos ( $ this -> getName ( ) , '_in_' ) !== false : $ methodPrefix = 'in' ; break ; default : $ methodPrefix = 'get' ; break ; } return $ methodPrefix . $ methodName ; }
Get method name for getter.

@return string
Get method name for getter .