Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Reads entire file into a string
<?php file_get_contents(    string $filename,    bool $use_include_path = false,    ?resource $context = null,    int $offset = 0,    ?int $length = null): string|false
<?php     {

        $this->filesystem->expects('stub')

            ->with('resource.stub')

            ->andReturn(file_get_contents('stubs/resource.stub'));



        $this->filesystem->shouldReceive('exists')

            ->with('app/Http/Resources/Api')
<?php     {

        $this->filesystem->expects('stub')

            ->with('resource.stub')

            ->andReturn(file_get_contents('stubs/resource.stub'));



        $this->filesystem->shouldReceive('exists')

            ->with('app/Http/Resources/Api')
<?php     {

        $this->files->expects('stub')

            ->with('resource.stub')

            ->andReturn(file_get_contents('stubs/resource.stub'));



        $this->files->shouldReceive('exists')

            ->with('app/Http/Resources')
<?php     public function fixture(string $path)

    {

        return file_get_contents(__DIR__ . '/' . 'fixtures' . '/' . ltrim($path, '/'));

    }



    public function requireFixture(string $path)
<?php     public function stub(string $path)

    {

        return file_get_contents(__DIR__ . '/../' . 'stubs' . '/' . ltrim($path, '/'));

    }



    protected function getPackageProviders($app)