Skip to content

Dead code or autoloading mechanism? #389

@holtkamp

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?

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