This documentation describes unreleased changes on the main branch.

#[NoService]

Attribute on classes.

use Saij\WpAppFramework\DependencyInjection\NoService;

Excludes a class from the container.

Every concrete class under the scanned PSR-4 directories is a service candidate unless it carries this attribute. Parameters typed with an excluded class are never injected; in hook methods they receive arguments passed by WordPress.