Skip to content

Dead code or autoloading mechanism? #389

Description

@holtkamp

Maybe I am missing the point, but what is the functional justification of this snippet:

array_map('class_exists', [Bar::class, BlueScreen::class, DefaultBarPanel::class, Dumper::class,
FireLogger::class, Helpers::class, Logger::class, ]);

Is it to ensure these classes are "autoloaded"? If so, what would be the point of that?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions