* and local base path, for use with ResourceLoaderFileModule.
*/
class ResourceLoaderFilePath {
- /* Protected Members */
/** @var string Local base path */
protected $localBasePath;
protected $remoteBasePath;
/**
- * @var string Path to the file */
+ * @var string Path to the file
+ */
protected $path;
- /* Methods */
-
/**
* @param string $path Path to the file.
* @param string $localBasePath Base path to prepend when generating a local path.
return "{$this->remoteBasePath}/{$this->path}";
}
+ /**
+ * @return string
+ */
+ public function getLocalBasePath() {
+ return $this->localBasePath;
+ }
+
+ /**
+ * @return string
+ */
+ public function getRemoteBasePath() {
+ return $this->remoteBasePath;
+ }
+
/**
* @return string
*/