Skip to content

Autoload of namespaced class using PSR-0 #5

@remicollet

Description

@remicollet

Is broken, $class doesn't start with the $prefix (which is in $namespace)

if (empty($prefix) || 0 === strpos($class, $prefix)) {

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