public function getByParent($slug) { return $this->database->table('categories')->where('slug', '!=', $slug)->where('slug', 'LIKE', "{$slug}%")->get(); }