Closed Lonnytunes closed 8 months ago
@Lonnytunes
But I think CommandLine and AbstractProcessTrait could be in an src/Process directory, and ChainLogger in an src/Log.
I have no strong opinion about this. For the first part, the Process
namespace is a good idea, for the other one, I think that the Utility
namespace must be removed, and the ChainLogger
moved into the Helper
namespace, which is basically the same.
Let's keep only one "fourzytou" namespace (sorry, french joke, but you get what I mean).
I'do go further and place the Process
namespace under Helper
, such as this: src/Helper/Process/...
.
Thanks for your answer @pounard
I will move ChainLogger
from the Utility
namespace to the Helper
one. It's actually a kind of duplicate.
But I prefer to keep the idea of the Process
namespace at the root for now.
Are you agree to rename AbstractProcessTrait
to ProcessTrait
?
Are you agree to rename AbstractProcessTrait to ProcessTrait?
Yes, it's either abstract, either a trait, but not both.
@pounard @SimonMellerin
I created the directory
src/Utility
in a previous PR for theCommandLine
class.I added
AbstractProcessTrait
(to rename?) andChainLogger
elements into this directory for now.But I think
CommandLine
andAbstractProcessTrait
could be in ansrc/Process
directory, andChainLogger
in ansrc/Log
.Let me know your opinions! :slightly_smiling_face: