diff --git a/src/Document/Components/Tiktok.php b/src/Document/Components/Tiktok.php new file mode 100644 index 0000000..5fd64a4 --- /dev/null +++ b/src/Document/Components/Tiktok.php @@ -0,0 +1,50 @@ +setUrl($url); + } + + /** + * Getter for url. + */ + public function getUrl() { + return $this->URL; + } + + /** + * Setter for url. + * + * @param mixed $value + * Url. + * + * @return $this + */ + public function setUrl($value) { + $this->URL = $value; + return $this; + } + +} diff --git a/tests/Document/Components/TiktokTest.php b/tests/Document/Components/TiktokTest.php new file mode 100644 index 0000000..ea74ead --- /dev/null +++ b/tests/Document/Components/TiktokTest.php @@ -0,0 +1,28 @@ +assertJsonStringEqualsJsonString($expected, $obj->json()); + + } + +}