src/Node.php
public function scopeWithName(Builder $query, $name, $locale = null)
    {
        return $this->scopeWhereTranslation($query, 'node_name', $name, $locale);
    }
public function scopeWithName(Builder $query, $name, $locale = null)
    {
        return $this->scopeWhereTranslation($query, 'node_name', $name, $locale);
    }
public function scopeWithName ( Builder $ query , $ name , $ locale = null ) { return $ this -> scopeWhereTranslation ( $ query , 'node_name' , $ name , $ locale ) ; }
Scope for selecting with name

@param Builder $query
@param string $name
@param string|null $locale
@return Builder
Scope for selecting with name