From 1ffc6ba8a25c37c38125a65c85617d47766ab5ed Mon Sep 17 00:00:00 2001 From: Hicham Amrani Date: Tue, 7 Mar 2017 15:56:23 +0000 Subject: [PATCH] set card Label by idLabel set card Label by idLabel --- lib/Trello/Model/Card.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/Trello/Model/Card.php b/lib/Trello/Model/Card.php index bead76d..fe66a5a 100644 --- a/lib/Trello/Model/Card.php +++ b/lib/Trello/Model/Card.php @@ -685,6 +685,16 @@ public function setLabels(array $labels) return $this; } + + /** + * {@inheritdoc} + */ + public function setLabel($label) + { + $this->data['idLabels'] = $label; + + return $this; + } /** * {@inheritdoc}