lib/Globby/Builder/Regex.php
protected function translateTokenUsingCallback($identifier, $value)
    {
        $method = self::$tokenCallbackMap[$identifier];

        return call_user_func(
            [$this, $method],
            $value
        );
    }
protected function translateTokenUsingCallback($identifier, $value)
    {
        $method = self::$tokenCallbackMap[$identifier];

        return call_user_func(
            [$this, $method],
            $value
        );
    }
protected function translateTokenUsingCallback ( $ identifier , $ value ) { $ method = self :: $ tokenCallbackMap [ $ identifier ] ; return call_user_func ( [ $ this , $ method ] , $ value ) ; }
Calls an internal method to retrieve an appropriate value for use within the regex.

@param int $identifier
@param string $value
@return string
Calls an internal method to retrieve an appropriate value for use within the regex .