{
    "Codeigniter4_Controller": {
        "prefix": "ci4:controller",
        "lang": ["php"],
        "body": [
            "public function ${1:index}(${2:\\$request})",
            "{",
            "\t\\\\${3:code}",
            "}$0"
        ],
        "description": "CodeIgniter 4 - Make Controller"
    },
    "Codeigniter4_Controller_Resources": {
        "prefix": "ci4:controller:resources",
        "lang": ["php"],
        "body": [
            "public function __construct()",
            "{",
            "\t\\\\__construct code",
            "}",
            "",
            "public function index()",
            "{",
            "\t\\\\index code",
            "}",
            "",
            "public function show(\\$id = null)",
            "{",
            "\t\\\\show code",
            "}",
            "",
            "public function new()",
            "{",
            "\t\\\\new code",
            "}",
            "",
            "public function create()",
            "{",
            "\t\\\\create code",
            "}",
            "",
            "public function edit(\\$id = null)",
            "{",
            "\t\\\\edit code",
            "}",
            "",
            "public function update(\\$id = null)",
            "{",
            "\t\\\\update code",
            "}",
            "",
            "public function delete(\\$id = null)",
            "{",
            "\t\\\\delete code",
            "}$0"
        ],
        "description": "CodeIgniter 4 - Make Controller Resources"
    },
    "Codeigniter4_Controller_Presenter": {
        "prefix": "ci4:controller:presenter",
        "lang": ["php"],
        "body": [
            "public function __construct()",
            "{",
            "\t\\__construct code",
            "}",
            "",
            "public function index()",
            "{",
            "\t\\index code",
            "}",
            "",
            "public function show(\\$id = null)",
            "{",
            "\t\\show code",
            "}",
            "",
            "public function new()",
            "{",
            "\t\\new code",
            "}",
            "",
            "public function create()",
            "{",
            "\t\\create code",
            "}",
            "",
            "public function edit(\\$id = null)",
            "{",
            "\t\\edit code",
            "}",
            "",
            "public function update(\\$id = null)",
            "{",
            "\t\\update code",
            "}",
            "",
            "public function remove(\\$id = null)",
            "{",
            "\t\\remove code",
            "}",
            "",
            "public function delete(\\$id = null)",
            "{",
            "\t\\delete code",
            "}$0"
        ],
        "description": "CodeIgniter 4 - Make Controler Presenter"
    },
    "Codeigniter4_Controller_Request": {
        "prefix": "ci4:controller:request",
        "lang": ["php"],
        "body": [
            "\\$this->request->${1|getVar,getGet,getPost,getMethod,isAjax,isCLI,isSecure|}('${2:field name}');$0"
        ],
        "description": "CodeIgniter 4 - Make Controller Request Class"
    }
}