add nova
This commit is contained in:
16
nova/src/Fields/MorphMany.php
Normal file
16
nova/src/Fields/MorphMany.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Nova\Fields;
|
||||
|
||||
class MorphMany extends HasMany
|
||||
{
|
||||
/**
|
||||
* Get the relationship type.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function relationshipType()
|
||||
{
|
||||
return 'morphMany';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user