Skip to content

Instantly share code, notes, and snippets.

@irnnr
Last active October 2, 2015 02:14

Revisions

  1. irnnr revised this gist Sep 11, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@ TYPO3 Dynamic Return Type code completion

    When using PhpStorm:

    * install the DynamicReturnTypePlugin from http://plugins.jetbrains.com/plugin/7251?pr=phpStorm&showAllUpdates=true
    * install DynamicReturnTypePlugin from http://plugins.jetbrains.com/plugin/7251?pr=phpStorm&showAllUpdates=true
    * add dynamicReturnTypeMeta.json to your TYPO3 CMS project root
    * live a better life

  2. irnnr created this gist Sep 11, 2014.
    10 changes: 10 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    TYPO3 Dynamic Return Type code completion

    When using PhpStorm:

    * install the DynamicReturnTypePlugin from http://plugins.jetbrains.com/plugin/7251?pr=phpStorm&showAllUpdates=true
    * add dynamicReturnTypeMeta.json to your TYPO3 CMS project root
    * live a better life


    You're welcome, you owe me a beer.
    19 changes: 19 additions & 0 deletions dynamicReturnTypeMeta.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    {
    "methodCalls": [
    {
    "class": "\\TYPO3\\CMS\\Core\\Utility\\GeneralUtility",
    "method": "makeInstance",
    "position": 0
    },
    {
    "class": "\\TYPO3\\CMS\\Extbase\\Object\\ObjectManager",
    "method": "get",
    "position": 0
    },
    {
    "class": "\\TYPO3\\CMS\\Extbase\\Object\\ObjectManager",
    "method": "create",
    "position": 0
    }
    ]
    }