Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel model get model name

$className = get_class($faq->products()->getRelated());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #model #model
ADD COMMENT
Topic
Name
8+3 =