protected function replicateFlags($resource, $original_resource)
    {
        return sprintf(
            '%s%s%s',
            ($this->checkSuppression($original_resource)) ? '@' : null,
            $resource,
            ($this->checkRecursive($original_resource)) ? '*' : null
        );
    }
protected function replicateFlags($resource, $original_resource)
    {
        return sprintf(
            '%s%s%s',
            ($this->checkSuppression($original_resource)) ? '@' : null,
            $resource,
            ($this->checkRecursive($original_resource)) ? '*' : null
        );
    }
protected function replicateFlags ( $ resource , $ original_resource ) { return sprintf ( '%s%s%s' , ( $ this -> checkSuppression ( $ original_resource ) ) ? '@' : null , $ resource , ( $ this -> checkRecursive ( $ original_resource ) ) ? '*' : null ) ; }
Duplicates the flags from one string to another

@param string $resource The resource to add the flags to
@param string $resource The resource to duplicate the flags from

@return string The parsed string resource
Duplicates the flags from one string to another