ImportColumn
class ImportColumn extends Component (View source)
Traits
Properties
protected string | $evaluationIdentifier | ||
static protected Closure>> | $macros | from Macroable | |
protected string | $name | ||
protected string|Closure|null | $label | ||
protected bool|Closure | $isMappingRequired | ||
protected bool|Closure | $isMappingRequiredForNewRecordsOnly | ||
protected int|Closure|null | $decimalPlaces | ||
protected bool|Closure | $isNumeric | ||
protected bool|Closure | $isBoolean | ||
protected bool|Closure | $isBlankStateIgnored | ||
protected string|Closure|null | $arraySeparator | ||
protected string[] | $guesses | ||
protected Closure|null | $fillRecordUsing | ||
protected Closure|null | $castStateUsing | ||
protected array | $dataValidationRules | ||
protected array | $nestedRecursiveDataValidationRules | ||
protected Importer|null | $importer | ||
protected array | $examples | ||
protected string|Closure|null | $exampleHeader | ||
protected string|Closure|null | $relationship | ||
protected string | $resolveRelationshipUsing | ||
protected Model[] | $resolvedRelatedRecords | ||
protected string|Closure|null | $validationAttribute | ||
protected Htmlable|Closure|null | $helperText | ||
protected bool|Closure | $isSensitive |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
final
__construct(string $name)
No description
static ImportColumn
make(string $name)
No description
Select
getSelect()
No description
ImportColumn
name(string $name)
No description
ImportColumn
label(string|Closure|null $label)
No description
ImportColumn
example(mixed $example)
No description
ImportColumn
examples(mixed $examples)
No description
ImportColumn
exampleHeader(string|Closure|null $header)
No description
ImportColumn
requiredMapping(bool|Closure $condition = true)
No description
ImportColumn
requiredMappingForNewRecordsOnly(bool|Closure $condition = true)
No description
ImportColumn
numeric(bool|Closure $condition = true, int|Closure|null $decimalPlaces = null)
No description
ImportColumn
helperText(Htmlable|Closure|null $text)
No description
ImportColumn
integer(bool|Closure $condition = true)
No description
ImportColumn
boolean(bool|Closure $condition = true)
No description
ImportColumn
ignoreBlankState(bool|Closure $condition = true)
No description
ImportColumn
rules(array|Closure $rules)
No description
ImportColumn
nestedRecursiveRules(array|Closure $rules)
No description
ImportColumn
array(string|Closure|null $separator = ',')
No description
ImportColumn
guess(array|Closure $guesses)
No description
ImportColumn
importer(Importer|null $importer)
No description
array
getGuesses()
No description
ImportColumn
castStateUsing(Closure|null $callback)
No description
ImportColumn
fillRecordUsing(Closure|null $callback)
No description
mixed
castState(mixed $state, array $options)
No description
void
fillRecord(mixed $state)
No description
string
getName()
No description
string
getExampleHeader()
No description
array
getDataValidationRules()
No description
Model|null
resolveRelatedRecord(mixed $state)
No description
array
getNestedRecursiveDataValidationRules()
No description
bool
isNumeric()
No description
bool
isBoolean()
No description
bool
isBlankStateIgnored()
No description
int|null
getDecimalPlaces()
No description
string|null
getArraySeparator()
No description
bool
isArray()
No description
Importer|null
getImporter()
No description
mixed
getExample()
deprecated
deprecated
No description
array
getExamples()
No description
ImportColumn
relationship(string|Closure|null $name = null, string|array|Closure|null $resolveUsing = null)
No description
BelongsTo|null
getRelationship()
No description
string|null
getRelationshipName()
No description
Model|null
getRecord()
No description
bool
isMappingRequired()
No description
bool
isMappingRequiredForNewRecordsOnly()
No description
bool
hasRelationship()
No description
ImportColumn
validationAttribute(string|Closure|null $label)
No description
string
getValidationAttribute()
No description
string|null
getLabel()
No description
protected mixed
castStateItem(mixed $state)
No description
protected bool
castBooleanStateItem(mixed $state)
No description
protected int|float
castNumericStateItem(mixed $state)
No description
ImportColumn
sensitive(bool|Closure $condition = true)
No description
bool
isSensitive()
No description