Skip to content

Base namespaces not working properly #52

Description

@Horki

Hey, so I have structure like this

PHPQueue\Base::$queue_namespace = 'App\Queue\Queues';
PHPQueue\Base::$worker_namespace = 'App\Queue\Workers';

├── Queues
│   ├── SampleQueue.php
│   └── logs
│   └── results.log
├── Runners
│   └── SampleRunner.php
└── Workers
└── SampleWorker.php

when running trought CLI

Adding Job...
Fatal error: Class 'App\Queue\Queues\Sample' not found in ...

So :QueueNameInCamelCase:Queue.php is not working for namespaces

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