Skip to content

Reference

phil/route-access-check-bundle

Classes

ClassRole
Phil\RouteAccessCheckBundle\PhilRouteAccessCheckBundleThe bundle: the configuration, the services, the compiler pass; DETECTOR_TAG, FORMATTER_TAG, SECURITY_MAP, CONTROLLER_CLASSES
Phil\RouteAccessCheckBundle\Infrastructure\DependencyInjection\SecurityMapPassReads the firewalls, the access_control entries and the controller classes into parameters
Phil\RouteAccessCheckBundle\Infrastructure\Console\CheckRouteAccessCommandphil:route-access:check; DEFAULT_BASELINE

Services

IdClass
Phil\RouteAccessCheck\RouteAccessCheckerThe check
Phil\RouteAccessCheck\RouteReader, Phil\RouteAccessCheck\ControllerLocator, Phil\RouteAccessCheck\IgnoreListWhat it reads routes with, and leaves aside
Phil\RouteAccessCheck\Security\SecurityMapThe security configuration
Phil\RouteAccessCheck\Detector\SecurityAttributeDetector, PublicRouteDetector, SecurityConfigDetectorThe detectors, tagged
Phil\RouteAccessCheck\Format\TextFormatter, JsonFormatter, GitHubFormatter, JunitFormatterThe formats, tagged
Phil\RouteAccessCheckBundle\Infrastructure\Console\CheckRouteAccessCommandThe command, tagged console.command

All of them exist only in the environments of phil_route_access_check.environments.

Tags

TagOnAutoconfigured from
phil_route_access_check.detectorthe detectors the check asksPhil\RouteAccessCheck\Contract\AccessRuleDetector
phil_route_access_check.formatterthe formats of --formatPhil\RouteAccessCheck\Contract\ReportFormatter

Parameters

ParameterValue
phil_route_access_check.security_mapThe firewalls and access_control entries, as SecurityMap::fromArray() takes them
phil_route_access_check.controller_classesThe class of each controller service whose id is not its class