app/Providers/BackendServiceProvider.php
/**
     * Register the application services.
     *
     * @return void
     */
Register the application services.
@return void
Register the application services . @return void
public function register()
    {
        $this->app->bind(
            'App\Repositories\IGroupRepository',
            'App\Repositories\GroupRepository'
        );
        $this->app->bind(
            'App\Repositories\IStudentRepository',
            'App\Repositories\StudentRepository'
        );
        $this->app->bind(
            'App\Repositories\ISubjectRepository',
            'App\Repositories\SubjectRepository'
        );
        $this->app->bind(
            'App\Repositories\IAttendanceRepository',
            'App\Repositories\AttendanceRepository'
        );
    }
public function register ( ) { $ this -> app -> bind ( 'App\Repositories\IGroupRepository' , 'App\Repositories\GroupRepository' ) ; $ this -> app -> bind ( 'App\Repositories\IStudentRepository' , 'App\Repositories\StudentRepository' ) ; $ this -> app -> bind ( 'App\Repositories\ISubjectRepository' , 'App\Repositories\SubjectRepository' ) ; $ this -> app -> bind ( 'App\Repositories\IAttendanceRepository' , 'App\Repositories\AttendanceRepository' ) ; }
Register the application services.
Register the application services .