Skip to content

Commit

Permalink
item add pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
rasim authored Jan 10, 2018
1 parent bef7c78 commit 5605c42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/LukeSnowden/GoogleShoppingFeed/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,14 @@ public function material($material) {
$this->nodes['material'] = $node->value($material)->_namespace($this->namespace);
}

/**
* @param $pattern
*/
public function pattern($pattern) {
$node = new Node('pattern');
$this->nodes['pattern'] = $node->value($pattern)->_namespace($this->namespace);
}

/**
* @param $imageLink
*/
Expand Down

0 comments on commit 5605c42

Please sign in to comment.