BookStack\Entity::matches PHP Метод

matches() публичный Метод

Matches by comparing class and id.
public matches ( $entity ) : boolean
$entity
Результат boolean
    public function matches($entity)
    {
        return [get_class($this), $this->id] === [get_class($entity), $entity->id];
    }