src/Router/Routes/RouteBinding.php
protected function bindPartVar($var, $type, ServerRequestInterface $request, array $parts, &$part)
    {
        if (!is_string($var) || $var[0] !== '$') {
            return false;
        }
        
        $options = array_map('trim', explode('|', $var));
        $part = $this->bindVar($type, $request, $parts, $options);
        return true;
    }
protected function bindPartVar($var, $type, ServerRequestInterface $request, array $parts, &$part)
    {
        if (!is_string($var) || $var[0] !== '$') {
            return false;
        }
        
        $options = array_map('trim', explode('|', $var));
        $part = $this->bindVar($type, $request, $parts, $options);
        return true;
    }
protected function bindPartVar ( $ var , $ type , ServerRequestInterface $ request , array $ parts , & $ part ) { if ( ! is_string ( $ var ) || $ var [ 0 ] !== '$' ) { return false ; } $ options = array_map ( 'trim' , explode ( '|' , $ var ) ) ; $ part = $ this -> bindVar ( $ type , $ request , $ parts , $ options ) ; return true ; }
Bind part if it's an variable

@param mixed                  $var
@param string                 $type
@param ServerRequestInterface $request
@param array                  $parts
@param array                  $part     OUTPUT
@return boolean
Bind part if it s an variable