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];
    }