guni12/comment

View on GitHub
config/di.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Configuration file for DI container.
 */
return [

    // Services to add to the container.
    "services" => [
        "commController" => [
            "shared" => true,
            "callback" => function () {
                $obj = new \Anax\Comments\CommController();
                $obj->setDI($this);
                return $obj;
            }
        ],
    ],
];