Charles Sprayberry

Results 49 issues of Charles Sprayberry

I'm digging into the 3.0 beta and from a testing perspective I appreciate the HttpServer interface. It allows to more easily write unit tests in addition to integration tests. However,...

feature request
discussion

## Problem There are situations where it could be useful to have a single controller that is used when a command _and_ a sub-command is provided. For example, in the...

I created a library to write ADR using PHP 8 Attributes. Any feedback and/or listing on your site would be appreciated! https://github.com/cspray/architectural-decision

Bootstrap observers could benefit from knowing what profiles are active. For example, a cache busting observer could be added that clears out any cached container definition before compilation in appropriate...

enhancement

## Problem There's currently a drawback when using profiles to resolve multiple aliases. You're required to specify a profile for all concrete services that would be used as an alias...

enhancement

The build command will erroneously re-use a cached definition if it is present. This command should clear the cache before building. Rebuilding the cached container is not intuitive and doesn't...

bug

Currently the key used to store a serialized ContainerDefinition is determined by internal implementation details of the cache aware compiler. This key should be generated by a concrete class that...

enhancement

1.3 releases a feature that allows the #[ServiceDelegate] attribute to determine what type it is responsible for by parsing the return type of the method. Currently this does not support...

enhancement