RichSnippets

This is the RichSnippets class, a macro class for the ProductViewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the products rich snippets.

Tags
see
RichSnippets::getViewParameters()

Table of Contents

$richSnippets  : ProductRichSnippets|null
__construct() Constructor method for RichSnippets class.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for ProductViewHelper.php  : array<string|int, mixed>
getProperties() Return macro use properties  : array<string|int, mixed>

Properties

$richSnippets

public ProductRichSnippets|null $richSnippets = null

Methods

__construct()

Constructor method for RichSnippets class.

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
RichSnippets
Return values
mixed

getViewParameters()

This method returns all calculated arguments and new parameters for ProductViewHelper.php

public getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperties()

Return macro use properties

protected getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results