<?php

namespace Cviebrock\EloquentSluggable\Tests\Models;

use Cviebrock\EloquentSluggable\Tests\Classes\SluggableCustomMethod;

class PostWithCustomMethodArrayCall extends Post
{
    /**
     * Return the sluggable configuration array for this model.
     */
    public function sluggable(): array
    {
        return [
            'slug' => [
                'source' => 'title',
                'method' => [SluggableCustomMethod::class, 'slug'],
            ],
        ];
    }
}
