<?php

namespace App\View\Components\Table\Traits\Helpers;

trait ImageColumnHelpers
{
    // TODO: Test
    public function getLocationCallback()
    {
        return $this->locationCallback;
    }

    public function hasLocationCallback()
    {
        return $this->locationCallback !== null;
    }

    public function getAttributesCallback()
    {
        return $this->attributesCallback;
    }

    public function hasAttributesCallback()
    {
        return $this->attributesCallback !== null;
    }

    public function getView(): string
    {
        return $this->view;
    }
}
