Open ahmadbadpey opened 6 years ago
I used Baum laravel package to create my Tag model.
Tag
Suppose I have this tree structure for tags:
tag 1
tag 2
Now I want to make an array of string like this from those :
array[ 'tag 1', 'tag 1 >> tag 1.1', 'tag 1 >> tag 1.1 >> tag 1.1.1' 'tag 2', 'tag 2 >> tag 2.1', 'tag 2 >> tag 2.1 >> tag 2.1.1' ]
Is there any way to create that ?
I used Baum laravel package to create my
Tag
model.Suppose I have this tree structure for tags:
tag 1
tag 2
Now I want to make an array of string like this from those :
Is there any way to create that ?