Deprecations
Introduced in version 4
-
- Deprecated since version
- 4.4.0
- Will be removed in version
- 5.0.0
- Alternative
- None.
The prioritisation of main via
SchemaManager->addMainEntityOfWebPage()
and the
<schema: view helpers has been introduced to override the
Web type, for example to force it to a FAQPage. This has been claimed by
Google to be able to show rich snippets. As Google removed the support of FAQs
for rich snippets in May 2026, this workaround is not necessary anymore.
Introduced in version 3
-
- Deprecated since version
- 3.11.0
- Removed in version
- 4.0.0
- Alternative
- Get an instance of a type model via the
Type, see Types for details. A deprecation log entry is written with information about the calling class and line number.Factory
-
- Deprecated since version
- 3.10.0
- Removed in version
- 4.0.0
- Alternative
- Create a class implementing
Additional, see Register additional properties for details.Properties Interface
-
- Deprecated since version
- 3.9.0
- Removed in version
- 4.0.0
- Alternative
- Use the specific enums and the <f:constant> view helper instead, see enumerations for details.
-
- Deprecated since version
- 3.0.0
- Removed in version
- 4.0.0
- Alternative
- Inject the
Typeinto the constructor and use theFactory createmethod. Have a look at the migration section.()
Introduced in version 1
-
- Deprecated since version
- 1.7.0
- Removed in version
- 2.0.0
- Alternative
- None. If you need it use
\Brotkrueml\and loop over the property names withSchema\ Core\ Model\ Abstract Type->get Property Names () \Brotkrueml\.Schema\ Core\ Model\ Abstract Type->get Property ()
-
- Deprecated since version
- 1.4.1
- Removed in version
- 2.0.0
- Alternative
- Use
\Brotkrueml\instead. See the API.Schema\ Manager\ Schema Manager->add Main Entity Of Web Page ()
-
- Deprecated since version
- 1.7.0
- Removed in version
- 2.0.0
- Alternative
-
Use
\Brotkrueml\which is a singleton and can be instantiated withSchema\ Type\ Type Registry Generalor injected with dependency injection.Utility:: make Instance () Since version 3.0 there is no alternative available.