Skip to content

Commit 145df33

Browse files
committed
Add interface
1 parent 5f9abb8 commit 145df33

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/Interfaces/CustomFieldable.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Givebutter\LaravelCustomFields\Models;
4+
5+
interface CustomFieldable
6+
{
7+
/**
8+
* Get the custom fields belonging to this model.
9+
*
10+
* @return mixed
11+
*/
12+
public function customFields();
13+
}

0 commit comments

Comments
 (0)