Trả về mảng trong laravel

Gần đây em có tìm hiểu laravel và php nhưng mà trong file services.php lại có một kiểu trả về nhìn giống như mảng nhưng khi tự viết thử cái mới giống như vậy thì nó lại không trả về. Mong mọi người giải thích giúp em.

  • services.php
    <?php

    return [

        /*
        |--------------------------------------------------------------------------
        | Third Party Services
        |--------------------------------------------------------------------------
        |
        | This file is for storing the credentials for third party services such
        | as Stripe, Mailgun, SparkPost and others. This file provides a sane
        | default location for this type of information, allowing packages
        | to have a conventional place to find your various credentials.
        |
        */

        'mailgun' => [
            'domain' => env('MAILGUN_DOMAIN'),
            'secret' => env('MAILGUN_SECRET'),
            'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
        ],

        'ses' => [
            'key' => env('SES_KEY'),
            'secret' => env('SES_SECRET'),
            'region' => env('SES_REGION', 'us-east-1'),
        ],

        'sparkpost' => [
            'secret' => env('SPARKPOST_SECRET'),
        ],

        'stripe' => [
            'model' => App\User::class,
            'key' => env('STRIPE_KEY'),
            'secret' => env('STRIPE_SECRET'),
            'webhook' => [
                'secret' => env('STRIPE_WEBHOOK_SECRET'),
                'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300),
            ],
        ],

    ];
  • test.php
    <?php
    return [
        'a' => 1,
        'b' => 2,
        'c' => 3
    ];
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?