Illuminate\Database\Eloquent\Model::touches PHP 메소드

touches() 공개 메소드

Determine if the model touches a given relation.
public touches ( string $relation ) : boolean
$relation string
리턴 boolean
    public function touches($relation)
    {
        return in_array($relation, $this->touches);
    }
Model