Replies: 1 comment 2 replies
-
I don't think so. Because as per the trait AsObject it will be executed as this: public static function make()
{
return app(static::class);
}
/**
* @see static::handle()
* @param mixed ...$arguments
* @return mixed
*/
public static function run(...$arguments)
{
return static::make()->handle(...$arguments);
} I am not sure how exactly this is going to turn out but as the May I ask why you would like to make it private? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, it may be an edge case, but can I safely set the visibility of the
handle
method toprivate
if I use my action onlyAsObject
?Beta Was this translation helpful? Give feedback.
All reactions