PrivateStaticTransformer
class PrivateStaticTransformer implements TransformerInterface (View source)
Properties
protected | array|callable | $classes | ||
protected | int | $sort |
Methods
public
transform(MutableConfigCollectionInterface $collection)
This loops through each class and fetches the private static config for each class.
protected
mixed
getClassConfig(string $class)
This is responsible for introspecting a given class and returning an array continaing all of its private statics
Details
__construct(array|callable $classes)
No description
MutableConfigCollectionInterface
transform(MutableConfigCollectionInterface $collection)
This loops through each class and fetches the private static config for each class.
protected mixed
getClassConfig(string $class)
This is responsible for introspecting a given class and returning an array continaing all of its private statics
protected bool
isConfigProperty(ReflectionProperty $prop)
Is a var config or not?
protected true
isConfigValue(mixed $input)
Detect if a value is a valid config
array
getClasses()
No description