Use the mb_pattern_create_path function to create a new path for a project in user-defined patterns.
The following example shows how the mb_pattern_create_path function is called:
mb_pattern_create_path(string $project_name, string $path);
The arguments taken by mb_pattern_create_path are shown in the following table:
Argument | Description |
---|---|
project_name | The name of the pattern instance project where the directory is created. |
path | The directory name to be created, for example directory/subdirectory. The directory path is relative to the directory of the project name you input as project_name. You can input a path that already exists in the project. |