public function findOrFail($fullslug)
    {
        if (!$tree = $this->find($fullslug)) {
            throw (new ModelNotFoundException)->setModel(Tree::class);
        }

        return $tree;
    }
public function findOrFail($fullslug)
    {
        if (!$tree = $this->find($fullslug)) {
            throw (new ModelNotFoundException)->setModel(Tree::class);
        }

        return $tree;
    }
public function findOrFail ( $ fullslug ) { if ( ! $ tree = $ this -> find ( $ fullslug ) ) { throw ( new ModelNotFoundException ) -> setModel ( Tree :: class ) ; } return $ tree ; }
Find a Tree Item by Slug or throw an exception.

@param  string $fullslug

@return \LaravelFlare\Cms\Tree\Tree

@throws \Illuminate\Database\Eloquent\ModelNotFoundException
Find a Tree Item by Slug or throw an exception .