beyondcode / beyondcode/invoker-community
Underscore beginning of directory name is removed then doesn't load mailable
- Dominant language
- No language data
- Stars
- 76
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Invoker loads directory structure in the left pane removing the underscore. When I try and test the mailable it gives me the error:
Error: Class Yup\App\Mail\ReviewCreatedMail does not exist
Actual path is: Yup\\_App\Mail\ReviewCreatedMail notice the underscore at beginning of App directory.
------
**OS**: win32
**Invoker Version**: 2.5.1
**Laravel Version**: 8.18.1
**Local project**: unknown
**PHP Binary**: /usr/local/bin/php
**Route**: /mails/details?class=Yup%5CApp%5CMail%5CReviewCreatedMail&project=remote-tHCs74oeYkkRTtDdENznnW
**Error**:
```
ReflectionException
Class Yup\App\Mail\ReviewCreatedMail does not exist
at phar:///tmp/forge_invoker.phar/src/Actions/SendMailAction.php:28
24▕ $this->recipient = $request->recipient;
25▕ }
26▕ public function execute()
27▕ {
➜ 28▕ $reflector = new \ReflectionClass($this->className);
29▕ $mailable = $reflector->newInstanceArgs($this->getConstructorArguments());
30▕ \Illuminate\Support\Facades\Mail::to($this->recipient)->send($mailable);
31▕ return \true;
32▕ }
1 phar:///tmp/forge_invoker.phar/src/Actions/SendMailAction.php:28
ReflectionClass::__construct()
2 phar:///tmp/forge_invoker.phar/src/ActionInvoker.php:33
_HumbugBox548199e96c64\Invoker\Actions\SendMailAction::execute()
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.