You are here

protected static function ScreenLoaderManager::buildPath in Janrain Registration 8

Returns the constructed path.

Parameters

string $path: The base path.

string $name: The name of a file.

string $type: The extension of a file.

Return value

string The constructed path.

2 calls to ScreenLoaderManager::buildPath()
ScreenLoaderManager::getScreen in src/ScreenLoaderManager.php
Get Janrain screen contents by name and type.
ScreenLoaderManager::updateRemoteScreens in src/ScreenLoaderManager.php
Update Janrain screens cache if screens folder is the remote one.

File

src/ScreenLoaderManager.php, line 176

Class

ScreenLoaderManager
Allow to load and manage Janrain screens (local and remote).

Namespace

Drupal\janrain_capture

Code

protected static function buildPath($path, $name, $type) {
  return sprintf('%s/%s.%s', $path, $name, $type);
}