Results 4 comments of Roman Varkuta

Constructor is public, so it will automatically create new instance. To use singletons, you can use `search` method, like this: ```php $singletone = MyEnum::{MyEnum::search($value)}(); ``` Not best practice, but it...

Same error at the end of installation ```bash github.com/i582/phpstats (download) github.com/gookit/color (download) github.com/i582/cfmt (download) github.com/muesli/termenv (download) github.com/lucasb-eyer/go-colorful (download) github.com/mattn/go-isatty (download) get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at //golang.org/x/sys/unix?go-get=1...

Maybe there i need some specific minor version of dependency?