File tree Expand file tree Collapse file tree 9 files changed +32
-1
lines changed
src/com/magento/idea/magento2plugin/magento/files Expand file tree Collapse file tree 9 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .lang .Language ;
@@ -16,6 +17,9 @@ public class BlockPhp implements ModuleFileInterface {
1617 private static BlockPhp INSTANCE = null ;
1718 private String fileName ;
1819
20+ /**
21+ * Getter for singleton instance of class.
22+ */
1923 public static BlockPhp getInstance (String className ) {
2024 if (null == INSTANCE ) {
2125 INSTANCE = new BlockPhp ();
Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .json .JsonLanguage ;
@@ -14,6 +15,9 @@ public class ComposerJson implements ModuleFileInterface {
1415 public static String NO_DEPENDENCY_LABEL = "None" ;
1516 private static ComposerJson INSTANCE = null ;
1617
18+ /**
19+ * Getter for singleton instance of class.
20+ */
1721 public static ComposerJson getInstance () {
1822 if (null == INSTANCE ) {
1923 INSTANCE = new ComposerJson ();
Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .lang .Language ;
Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .lang .Language ;
Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .lang .Language ;
@@ -21,6 +22,9 @@ public class ModuleEventsXml implements ModuleFileInterface {
2122
2223 private static ModuleEventsXml INSTANCE = null ;
2324
25+ /**
26+ * Getter for singleton instance of class.
27+ */
2428 public static ModuleEventsXml getInstance () {
2529 if (null == INSTANCE ) {
2630 INSTANCE = new ModuleEventsXml ();
Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .lang .Language ;
@@ -13,6 +14,9 @@ public class ModuleXml implements ModuleFileInterface {
1314 public static String TEMPLATE = "Magento Module XML" ;
1415 private static ModuleXml INSTANCE = null ;
1516
17+ /**
18+ * Getter for singleton instance of class.
19+ */
1620 public static ModuleXml getInstance () {
1721 if (null == INSTANCE ) {
1822 INSTANCE = new ModuleXml ();
Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .lang .Language ;
@@ -13,6 +14,9 @@ public class PhpPreference implements ModuleFileInterface {
1314 private static PhpPreference INSTANCE = null ;
1415 private String fileName ;
1516
17+ /**
18+ * Getter for singleton instance of class.
19+ */
1620 public static PhpPreference getInstance (String className ) {
1721 if (null == INSTANCE ) {
1822 INSTANCE = new PhpPreference ();
Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .lang .Language ;
@@ -13,6 +14,9 @@ public class RegistrationPhp implements ModuleFileInterface {
1314 public static String REGISTER_METHOD_NAME = "register" ;
1415 private static RegistrationPhp INSTANCE = null ;
1516
17+ /**
18+ * Getter for singleton instance of class.
19+ */
1620 public static RegistrationPhp getInstance () {
1721 if (null == INSTANCE ) {
1822 INSTANCE = new RegistrationPhp ();
Original file line number Diff line number Diff line change 22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
44 */
5+
56package com .magento .idea .magento2plugin .magento .files ;
67
78import com .intellij .lang .Language ;
1011public class ViewModelPhp implements ModuleFileInterface {
1112 public static String TEMPLATE = "Magento Regular Class" ;
1213 public static String DEFAULT_DIR = "ViewModel" ;
13- public static String INTERFACE_FQN = "Magento\\ Framework\\ View\\ Element\\ Block\\ ArgumentInterface" ;
14+ public static String INTERFACE_FQN
15+ = "Magento\\ Framework\\ View\\ Element\\ Block\\ ArgumentInterface" ;
1416 public static String INTERFACE_NAME = "ArgumentInterface" ;
1517
1618 private static ViewModelPhp INSTANCE = null ;
1719 private String fileName ;
1820
21+ /**
22+ * Getter for singleton instance of class.
23+ */
1924 public static ViewModelPhp getInstance (String className ) {
2025 if (null == INSTANCE ) {
2126 INSTANCE = new ViewModelPhp ();
You can’t perform that action at this time.
0 commit comments