public __construct ( string $path, string $baseDirectory, boolean $validateJson = false ) | ||
$path | string | The path to the JSON file. If relative, it must be relative to the base directory. |
$baseDirectory | string | The base directory of the store. Paths inside that directory are stored as relative paths. Paths outside that directory are stored as absolute paths. |
$validateJson | boolean | Whether to validate the JSON file against the schema. Slow but spots problems. |