private function _parse_variable_to()
    {
        $parts = explode('#', $this->_to);
        empty($parts[1]) && $parts[1] = 'index';
        
        $part = is_int(strpos($parts[0], ':')) ? $parts[0] : $parts[1];
        
        preg_match('/:(\w+)/', $part, $m);
        $type = $m[1];
        
        return $type;
    }
private function _parse_variable_to()
    {
        $parts = explode('#', $this->_to);
        empty($parts[1]) && $parts[1] = 'index';
        
        $part = is_int(strpos($parts[0], ':')) ? $parts[0] : $parts[1];
        
        preg_match('/:(\w+)/', $part, $m);
        $type = $m[1];
        
        return $type;
    }
private function _parse_variable_to ( ) { $ parts = explode ( '#' , $ this -> _to ) ; empty ( $ parts [ 1 ] ) && $ parts [ 1 ] = 'index' ; $ part = is_int ( strpos ( $ parts [ 0 ] , ':' ) ) ? $ parts [ 0 ] : $ parts [ 1 ] ; preg_match ( '/:(\w+)/' , $ part , $ m ) ; $ type = $ m [ 1 ] ; return $ type ; }
Returns the variable part of the _to attribute.
Returns the variable part of the _to attribute .