-
Notifications
You must be signed in to change notification settings - Fork 7
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
build(command): add command to create ValueObject #38
Conversation
src/Foundation/ValueObject.php
Outdated
<?php | ||
|
||
namespace KoalaFacade\DiamondConsole\Foundation; | ||
|
||
abstract class ValueObject | ||
{ | ||
abstract public static function make(mixed $data): static; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can remove this file first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
expect(filePresent(fileName: $fileName)) | ||
->toBeTrue(); | ||
|
||
$actionFile = File::get(path: basePath() . domainPath() . $fileName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't action prefix
expect(filePresent(fileName: $fileName)) | ||
->toBeTrue(); | ||
|
||
$actionFile = File::get(path: basePath() . domainPath() . $fileName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't action prefix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all done
No description provided.