| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | namespace Elementor; |
| 4 | 3 | |
| 4 | +use Elementor\Container\Container; | |
| 5 | +use ElementorDeps\DI\Container as DIContainer; | |
| 5 | 6 | use Elementor\Core\Admin\Menu\Admin_Menu_Manager; |
| 6 | 7 | use Elementor\Core\Wp_Api; |
| 7 | 8 | use Elementor\Core\Admin\Admin; |
| 8 | 9 | use Elementor\Core\Breakpoints\Manager as Breakpoints_Manager; |
| @@ -24,8 +25,12 @@ | ||
| 24 | 25 | use Elementor\Modules\System_Info\Module as System_Info_Module; |
| 25 | 26 | use Elementor\Data\Manager as Data_Manager; |
| 26 | 27 | use Elementor\Data\V2\Manager as Data_Manager_V2; |
| 27 | 28 | use Elementor\Core\Files\Uploads_Manager; |
| 29 | +use ElementorDeps\DI\{ | |
| 30 | + DependencyException, | |
| 31 | + NotFoundException, | |
| 32 | +}; | |
| 28 | 33 | |
| 29 | 34 | if ( ! defined( 'ABSPATH' ) ) { |
| 30 | 35 | exit; |
| 31 | 36 | } |
| @@ -38,9 +43,8 @@ | ||
| 38 | 43 | * |
| 39 | 44 | * @since 1.0.0 |
| 40 | 45 | */ |
| 41 | 46 | class Plugin { |
| 42 | - | |
| 43 | 47 | const ELEMENTOR_DEFAULT_POST_TYPES = [ 'page', 'post' ]; |
| 44 | 48 | |
| 45 | 49 | /** |
| 46 | 50 | * Instance. |