PhpStorm
 
Get PhpStorm

Move Namespace Dialog

Last modified: 26 May 2024

The dialog opens when you select a PHP namespace to be moved and select Refactor | Move from the main menu or from the context menu of the selection.

PhpStorm assumes that the namespaces in your project are arranged in compliance with the PSR-0/PSR-4 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.