Пример #1
0
 public static function children($id)
 {
     $child = Categories::whereParent($id)->get();
     if (count($child)) {
         return $child;
     }
     return false;
 }