Documentation

TagComparator
in package

FinalYes

This class is responsible for comparing tags to see if they should be kept together, or kept apart.

Tags
author

Graham Campbell hello@gjcampbell.co.uk

author

Jakub Kwaśniewski jakub@zero-85.pl

deprecated

Table of Contents

Methods

shouldBeTogether()  : bool
Should the given tags be kept together, or kept apart?

Methods

shouldBeTogether()

Should the given tags be kept together, or kept apart?

public static shouldBeTogether(Tag $first, Tag $second[, array<int, array<int, string>> $groups = self::DEFAULT_GROUPS ]) : bool
Parameters
$first : Tag
$second : Tag
$groups : array<int, array<int, string>> = self::DEFAULT_GROUPS
Return values
bool

        
On this page

Search results