Skip to content

Base namespaces not working properly #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Horki opened this issue Jul 16, 2016 · 1 comment
Open

Base namespaces not working properly #52

Horki opened this issue Jul 16, 2016 · 1 comment

Comments

@Horki
Copy link

Horki commented Jul 16, 2016

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

@miccheng
Copy link
Member

Was it looking for an App namespace first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants