Move Namespace Dialog
PhpStorm supposes that the namespaces in your project are arranged in compliance with the PSR0 standard and enforces you to retain the folder structure and the namespace hierarchy in accordance with this standard when moving namespaces.
When you specify a namespace to move a namespace to, PhpStorm automatically updates the Target Destination Directory field, which shows the path to the folder that corresponds to the namespace in question.
|New Namespace Name|| When the dialog box opens, the field shows the fully qualified name of the selected namespace. Specify the new namespace name. Use only backslashes (|
|Target Destination Directory|| When the dialog box opens, the field shows the path to the folder which corresponds to the current namespace. |
The path is displayed in the format
See Directories for details.
Do one of the following:
|Refactor|| Click this button to open the Move Files with Related Namespaces dialog box and specify the classes and files to be moved to the new namespace and the new folder. |
The upper pane of the dialog box lists the destination namespaces and folders for classes and files related to the namespace in question. Each item in the list corresponds to a class/file. When you move the cursor to an item, the bottom pane shows the contents of the file related with it.