ock / class-discovery
dev-main
2024-11-03 00:30 UTC
Requires
- php: >=8.3
- ext-json: *
- ock/helpers: dev-main
Requires (Dev)
- phpunit/phpunit: ^10.5.38
- dev-main
- dev-issue-101-detect-recurring-objects
- dev-issue-101-drop-default-values
- dev-issue-101-increase-export-depth
- dev-issue-101-no-container-singleton-in-test
- dev-issue-103-dont-overwrite-service-definitions
- dev-issue-103-prep
- dev-issue-86-drupal-11-and-php-8-3
- dev-issue-98-remove-symfony-config
- dev-issue-99-phpstan-from-root
- dev-probe
- dev-issue-26-phpstan-class-discovery
- dev-issue-29-phpstan-dependency-injection
- dev-issue-30-ddev-here-command
- dev-issue-34-phpstan-testing-package
- dev-issue-38-different-phpstan-versions
- dev-issue-40-prep
- dev-issue-40-test-module-services
- dev-issue-41-test-routes
- dev-issue-42-drop-phpstan-2
- dev-issue-46-misc
- dev-issue-46-ock-preset-cleanup
- dev-issue-46-ock-preset-ui
- dev-issue-46-preset-formulas
- dev-issue-48-housekeeping
- dev-issue-52-phpstan-lv1-object-construction-kit
- dev-issue-52-phpstan-lv2-object-construction-kit
- dev-issue-52-phpstan-lv3-object-construction-kit
- dev-issue-52-phpstan-lv4-object-construction-kit
- dev-issue-52-phpstan-lv5-object-construction-kit
- dev-issue-52-phpstan-lv6-object-construction-kit
- dev-issue-52-phpstan-lv7-object-construction-kit
- dev-issue-52-phpstan-lv8-object-construction-kit
- dev-issue-52-phpstan-lv9-object-construction-kit
- dev-issue-52-phpstan-object-construction-kit
- dev-issue-52-phpstan-prep
- dev-issue-53-FormattableMarkup
- dev-issue-53-fixes
- dev-issue-53-prep
- dev-issue-53-replace-HtmlUtil-sanitize
- dev-issue-70-circular-dependencies-in-ParamToEgg_Chain
- dev-issue-72-prep
- dev-issue-72-test-tagged-services
- dev-issue-75-no-replace-in-composer-json
- dev-issue-77-ock-form-element
- dev-issue-77-test-ock-report-demo-form
- dev-issue-81-element-types
- dev-issue-84-wait-for-ajax-on-drilldown-select
- dev-issue-86-DrupalTesting-package
- dev-issue-86-fix-tests
- dev-issue-86-phpunit-prep
- dev-issue-86-phpunit-recordings
- dev-issue-86-phpunit-xml
- dev-issue-86-prep
- dev-issue-86-prep-composer-root-version
- dev-issue-86-rewrite-routing-test-base
- dev-issue-86-rewrite-services-test
- dev-issue-86-support-php-8-3
- dev-issue-16-ci-per-module
- dev-issue-20-phpstan-github-action
- dev-issue-24-phpstan-in-helpers-package
- dev-issue-11-github-action-class-discovery
- dev-issue-11-github-actions-in-packages
- dev-issue-14-add-all-packages-to-split
- dev-issue-16-prep
- dev-issue-9-github-action-helpers-package
- dev-master
This package is auto-updated.
Last update: 2024-11-10 16:01:23 UTC
README
This package provides components and abstractions to help with all kinds of discovery operations across php class files.
Main concepts:
ClassFilesIA*
:
IteratorAggregate that lists class names keyed by their file names.NamespaceDirectory
:
Main implementation representing a PSR-4 class files directory.
It provides additional methods to navigate to parent or child directories.
ReflectionClassesIA*
:
IteratorAggregate that lists a special type of\ReflectionClass
class objects.
Typically this is based on aClassFilesIA*
object.FactoryReflection*
:
Interface for customClassReflection
andMethodReflection
, with methods that treat both of them as "factories".FactoryInspector*
:
Inspects a classes or methods, to find whatever you might be looking for.Discovery*
:
IteratorAggregate to discover objects found by an inspector in reflection methods.