Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel eloquent tricks

$post = Post::first();
$post->title;                   // Something title

$post->title = "new title";    // new title

$user->getOriginal('title');    // Something title
Source by laravelproject.com #
 
PREVIOUS NEXT
Tagged: #Laravel #eloquent #tricks
ADD COMMENT
Topic
Name
6+9 =