Closed qwerdee closed 3 years ago
Calling render multiple times creates causes tags to be copied for each call.
So for example.
$meta = metaTags(page()); echo $meta->render(); // => <title>test</title> echo $meta->render(); // => <title>test</title><title>test</title> echo $meta->render(); // => <title>test</title><title>test</title><title>test</title>
It does not matter if you pass the group argument to the function. It still copies all the tags with each call
Of course the render method should not modify the result like this and should not have side effects.
Calling render multiple times creates causes tags to be copied for each call.
So for example.
It does not matter if you pass the group argument to the function. It still copies all the tags with each call
Of course the render method should not modify the result like this and should not have side effects.