IncludeableData
interface IncludeableData
Methods
Include the given properties.
Include the given properties for every transformation.
Exclude the given properties.
Exclude the given lazy properties for every transformation.
Include only the given properties.
Include only the given properties for every transformation.
Include every property except the given properties.
Exclude the given properties for every transformation.
Include a property when the condition passes.
Exclude a property when the condition passes.
Exclude a property when the condition passes.
Determine whether this object has partial definitions.
Get the current partial definitions.
Details
at line 15
object
include(string ...$includes)
Include the given properties.
at line 20
object
includePermanently(string ...$includes)
Include the given properties for every transformation.
at line 25
object
exclude(string ...$excludes)
Exclude the given properties.
at line 30
object
excludePermanently(string ...$excludes)
Exclude the given lazy properties for every transformation.
at line 35
object
only(string ...$only)
Include only the given properties.
at line 40
object
onlyPermanently(string ...$only)
Include only the given properties for every transformation.
at line 45
object
except(string ...$except)
Include every property except the given properties.
at line 50
object
exceptPermanently(string ...$except)
Exclude the given properties for every transformation.
at line 55
object
includeWhen(string $include, bool|Closure $condition, bool $permanent = false)
Include a property when the condition passes.
at line 60
object
excludeWhen(string $exclude, bool|Closure $condition, bool $permanent = false)
Exclude a property when the condition passes.
at line 65
object
onlyWhen(string $only, bool|Closure $condition, bool $permanent = false)
Include only a property when the condition passes.
at line 70
object
exceptWhen(string $except, bool|Closure $condition, bool $permanent = false)
Exclude a property when the condition passes.
at line 75
bool
hasPartialsDefinition()
Determine whether this object has partial definitions.
at line 80
PartialsDefinition
getPartialsDefinition()
Get the current partial definitions.