SpatieMediaLibraryImageEntry
class SpatieMediaLibraryImageEntry extends ImageEntry (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $view | from ImageEntry | |
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from Entry | |
protected bool|Closure|null | $canGrow | from CanGrow | |
protected ComponentContainer | $container | from BelongsToContainer | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected array | $columnSpan | from CanSpanColumns | |
protected array | $columnStart | from CanSpanColumns | |
protected Action[] | $cachedActions | from HasActions | |
protected array | $actions | from HasActions | |
protected Action|null | $action | from HasActions | |
protected Component[] | $childComponents | from HasChildComponents | |
protected string|Closure|null | $entryWrapperView | from HasEntryWrapper | |
protected string|Closure|null | $id | from HasId | |
protected bool|Closure|null | $hasInlineLabel | from HasInlineLabel | |
protected string|Closure|null | $key | from HasKey | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected MaxWidth|string|Closure|null | $maxWidth | from HasMaxWidth | |
protected array<string,mixed> | $meta | from HasMeta | |
protected mixed | $defaultState | from HasState | |
protected mixed | $getStateUsing | from HasState | |
protected string|null | $statePath | from HasState | |
protected string|Closure|null | $separator | from HasState | |
protected bool|Closure | $isDistinctList | from HasState | |
protected string | $cachedAbsoluteStatePath | from HasState | |
protected array|null | $columns | from HasColumns | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected bool|Closure | $shouldOpenUrlInNewTab | from CanOpenUrl | |
protected string|Closure|null | $url | from CanOpenUrl | |
protected array | $extraEntryWrapperAttributes | from HasExtraEntryWrapperAttributes | |
protected Htmlable|Closure|null | $helperText | from HasHelperText | |
protected Htmlable|Closure|null | $hint | from HasHint | |
protected Action[] | $cachedHintActions | from HasHint | |
protected array | $hintActions | from HasHint | |
protected string | $hintColor | from HasHint | |
protected string|Closure|null | $hintIcon | from HasHint | |
protected string|Closure|null | $hintIconTooltip | from HasHint | |
protected string | $name | from HasName | |
protected string|Closure|null | $tooltip | from HasTooltip | |
protected Alignment|string|Closure|null | $alignment | from HasAlignment | |
protected Htmlable|Closure|null | $placeholder | from HasPlaceholder | |
protected string|Closure|null | $disk | from ImageEntry | |
protected int|string|Closure|null | $height | from ImageEntry | |
protected bool|Closure | $isCircular | from ImageEntry | |
protected bool|Closure | $isSquare | from ImageEntry | |
protected string|Closure | $visibility | from ImageEntry | |
protected int|string|Closure|null | $width | from ImageEntry | |
protected array | $extraImgAttributes | from ImageEntry | |
protected string|Closure|null | $defaultImageUrl | from ImageEntry | |
protected bool|Closure | $isStacked | from ImageEntry | |
protected int|Closure|null | $overlap | from ImageEntry | |
protected int|Closure|null | $ring | from ImageEntry | |
protected int|Closure|null | $limit | from ImageEntry | |
protected bool|Closure | $hasLimitedRemainingText | from ImageEntry | |
protected bool|Closure | $isLimitedRemainingTextSeparate | from ImageEntry | |
protected string|Closure|null | $limitedRemainingTextSize | from ImageEntry | |
protected bool|Closure | $shouldCheckFileExistence | from ImageEntry | |
protected Closure|null | $filterMediaUsing | from HasMediaFilter | |
protected AllMediaCollections|Closure|null | $collection | ||
protected string|Closure|null | $conversion |
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
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
ViewComponent
view(string|null $view, array $viewData = [])
No description
ViewComponent
defaultView(string|Closure|null $view)
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string|null
getDefaultView()
No description
string
toHtml()
No description
View
render()
No description
CanGrow
grow(bool|Closure|null $condition = true)
No description
bool
canGrow(bool $default = true)
No description
BelongsToContainer
container(ComponentContainer $container)
No description
ComponentContainer
getContainer()
No description
Infolist
getInfolist()
No description
Component|null
getLivewire()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenWhenAllChildComponentsHidden()
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
bool
isVisible()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
CanSpanColumns
columnSpanFull()
No description
CanSpanColumns
columnStart(array|int|string|Closure|null $start)
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
array|int|string|null
getColumnStart(int|string|null $breakpoint = null)
No description
Cloneable
getClone()
No description
HasActions
action(Action|null $action)
No description
HasActions
registerActions(array $actions)
No description
Action|null
getAction(string|array|null $name = null)
No description
array
getActions()
No description
array
cacheActions()
No description
HasChildComponents
childComponents(array|Closure $components)
No description
HasChildComponents
schema(array|Closure $components)
No description
array
getChildComponents()
No description
ComponentContainer
getChildComponentContainer(array-key $key = null)
No description
array
getChildComponentContainers(bool $withHidden = false)
No description
bool
hasChildComponentContainer(bool $withHidden = false)
No description
HasEntryWrapper
entryWrapperView(string|Closure|null $view)
No description
string
getEntryWrapperView()
No description
string|null
getCustomEntryWrapperView()
No description
in
HasId at line 11
HasId
id(string|Closure|null $id)
No description
in
HasId at line 18
string|null
getId()
No description
HasInlineLabel
inlineLabel(bool|Closure|null $condition = true)
No description
bool|null
hasInlineLabel()
No description
in
HasKey at line 11
HasKey
key(string|Closure|null $key)
No description
in
HasKey at line 18
string|null
getKey()
No description
HasLabel
hiddenLabel(bool|Closure $condition = true)
No description
HasLabel
label(Htmlable|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
Htmlable|null
getLabel()
No description
bool
isLabelHidden()
No description
HasMaxWidth
maxWidth(MaxWidth|string|Closure|null $width)
No description
MaxWidth|string|null
getMaxWidth()
No description
HasMeta
meta(string $key, mixed $value)
No description
mixed
getMeta(string|array|null $keys = null)
No description
bool
hasMeta(string|array $keys)
No description
bool
hasRelationship(Model $record)
No description
Relation|null
getRelationship(Model $record, string|null $statePath = null)
No description
array
getRelationshipResults(Model $record, array|null $relationships = null)
No description
string
getRelationshipAttribute(string|null $statePath = null)
No description
string|null
getRelationshipName(string|null $statePath = null)
No description
HasState
getStateUsing(mixed $callback)
No description
HasState
state(mixed $state)
No description
HasState
default(mixed $state)
No description
HasState
distinctList(bool|Closure $condition = true)
No description
bool
isDistinctList()
No description
mixed
getDefaultState()
No description
mixed
getState()
No description
HasState
separator(string|Closure|null $separator = ',')
No description
HasState
statePath(string|null $path)
No description
string|null
getSeparator()
No description
Model|null
getRecord()
No description
bool
hasStatePath()
No description
string
getStatePath(bool $isAbsolute = true)
No description
mixed
getStateFromRecord(Model $record)
No description
protected void
flushCachedAbsoluteStatePath()
No description
HasColumns
columns(array|int|null $columns = 2)
No description
array|int|null
getColumns(string|null $breakpoint = null)
No description
array
getColumnsConfig()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
CanOpenUrl
openUrlInNewTab(bool|Closure $condition = true)
No description
CanOpenUrl
url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)
No description
string|null
getUrl()
No description
bool
shouldOpenUrlInNewTab()
No description
HasExtraEntryWrapperAttributes
extraEntryWrapperAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraEntryWrapperAttributes()
No description
ComponentAttributeBag
getExtraEntryWrapperAttributesBag()
No description
HasHelperText
helperText(Htmlable|Closure|null $text)
No description
Htmlable|null
getHelperText()
No description
HasHint
hint(Htmlable|Closure|null $hint)
No description
HasHint
hintColor(string|array|Closure|null $color)
No description
HasHint
hintIcon(string|Closure|null $icon, string|Closure|null $tooltip = null)
No description
HasHint
hintIconTooltip(string|Closure|null $tooltip)
No description
HasHint
hintAction(Action|Closure $action)
No description
HasHint
hintActions(array $actions)
No description
Htmlable|null
getHint()
No description
string|array|null
getHintColor()
No description
string|null
getHintIcon()
No description
string|null
getHintIconTooltip()
No description
array
getHintActions()
No description
array
cacheHintActions()
No description
string
getName()
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
HasAlignment
alignment(Alignment|string|Closure|null $alignment)
No description
HasAlignment
alignStart(bool|Closure $condition = true)
No description
HasAlignment
alignCenter(bool|Closure $condition = true)
No description
HasAlignment
alignEnd(bool|Closure $condition = true)
No description
HasAlignment
alignJustify(bool|Closure $condition = true)
No description
HasAlignment
alignBetween(bool|Closure $condition = true)
No description
HasAlignment
alignLeft(bool|Closure $condition = true)
No description
HasAlignment
alignRight(bool|Closure $condition = true)
No description
Alignment|string|null
getAlignment()
No description
HasPlaceholder
placeholder(Htmlable|Closure|null $placeholder)
No description
Htmlable|null
getPlaceholder()
No description
in
Entry at line 23
final
__construct(string $name)
No description
in
Entry at line 29
static Entry
make(string $name)
No description
ImageEntry
disk(string|Closure|null $disk)
No description
ImageEntry
height(int|string|Closure|null $height)
No description
ImageEntry
circular(bool|Closure $condition = true)
No description
ImageEntry
square(bool|Closure $condition = true)
No description
ImageEntry
size(int|string|Closure $size)
No description
ImageEntry
visibility(string|Closure $visibility)
No description
ImageEntry
width(int|string|Closure|null $width)
No description
Filesystem
getDisk()
No description
string
getDiskName()
No description
string|null
getHeight()
No description
ImageEntry
defaultImageUrl(string|Closure|null $url)
No description
string|null
getImageUrl(string|null $state = null)
No description
string|null
getDefaultImageUrl()
No description
string
getVisibility()
No description
string|null
getWidth()
No description
bool
isCircular()
No description
bool
isSquare()
No description
ImageEntry
extraImgAttributes(array|Closure $attributes)
No description
array
getExtraImgAttributes()
No description
ComponentAttributeBag
getExtraImgAttributeBag()
No description
ImageEntry
stacked(bool|Closure $condition = true)
No description
bool
isStacked()
No description
ImageEntry
overlap(int|Closure|null $overlap)
No description
int|null
getOverlap()
No description
ImageEntry
ring(string|Closure|null $ring)
No description
int|null
getRing()
No description
ImageEntry
limit(int|Closure|null $limit = 3)
No description
int|null
getLimit()
No description
ImageEntry
limitedRemainingText(bool|Closure $condition = true, bool|Closure $isSeparate = false, string|Closure|null $size = null)
No description
ImageEntry
limitedRemainingTextSeparate(bool|Closure $condition = true)
No description
bool
hasLimitedRemainingText()
No description
bool
isLimitedRemainingTextSeparate()
No description
ImageEntry
limitedRemainingTextSize(string|Closure|null $size)
No description
string|null
getLimitedRemainingTextSize()
No description
ImageEntry
checkFileExistence(bool|Closure $condition = true)
No description
bool
shouldCheckFileExistence()
No description
HasMediaFilter
filterMediaUsing(Closure|null $callback)
No description
Collection
filterMedia(Collection $media)
No description
bool
hasMediaFilter()
No description
SpatieMediaLibraryImageEntry
collection(AllMediaCollections|Closure|null $collection)
No description
SpatieMediaLibraryImageEntry
allCollections()
No description
SpatieMediaLibraryImageEntry
conversion(string|Closure|null $conversion)
No description
AllMediaCollections|null
getCollection()
No description
string|null
getConversion()
No description