Nwidart\Modules\tests\Commands\GenerateEventCommandTest::expectedContent PHP Method

expectedContent() private method

private expectedContent ( )
    private function expectedContent()
    {
        return <<<TEXT
<?php

namespace Modules\\Blog\\Events;

use Illuminate\\Queue\\SerializesModels;

class PostWasCreated
{
    use SerializesModels;

    /**
     * Create a new event instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    /**
     * Get the channels the event should be broadcast on.
     *
     * @return array
     */
    public function broadcastOn()
    {
        return [];
    }
}

TEXT;
    }