$snippet->parent()
Returns the parent snippet if it exists
$snippet->parent(): Kirby\Template\Snippet|null
Return type
This method does not modify the existing $snippet
object but returns a new object with the changes applied. Learn more →
Returns the parent snippet if it exists
$snippet->parent(): Kirby\Template\Snippet|null
This method does not modify the existing $snippet
object but returns a new object with the changes applied. Learn more →