Prado\Data\SqlMap\Configuration\TSqlMapXmlConfigBuilder::getAbsoluteFilePath PHP Метод

getAbsoluteFilePath() защищенный Метод

Gets the filename relative to the basefile.
protected getAbsoluteFilePath ( $basefile, $resource ) : string
Результат string absolute filename.
    protected function getAbsoluteFilePath($basefile, $resource)
    {
        $basedir = dirname($basefile);
        $file = realpath($basedir . DIRECTORY_SEPARATOR . $resource);
        if (!is_string($file) || !is_file($file)) {
            $file = realpath($resource);
        }
        if (is_string($file) && is_file($file)) {
            return $file;
        } else {
            throw new TSqlMapConfigurationException('sqlmap_unable_to_find_resource', $resource);
        }
    }