private function convertTypeToMethod($type)
    {
        $parts = explode('.', str_replace(['-', '_'], '.', $type));
        $parts = array_map('ucfirst', $parts);

        return implode('', $parts);
    }
private function convertTypeToMethod($type)
    {
        $parts = explode('.', str_replace(['-', '_'], '.', $type));
        $parts = array_map('ucfirst', $parts);

        return implode('', $parts);
    }
private function convertTypeToMethod ( $ type ) { $ parts = explode ( '.' , str_replace ( [ '-' , '_' ] , '.' , $ type ) ) ; $ parts = array_map ( 'ucfirst' , $ parts ) ; return implode ( '' , $ parts ) ; }
Convert definition type to method name.

@param string $type The type as string.

@return string
Convert definition type to method name .