Deprecations¶
- \Brotkrueml\Schema\Type\TypeFactory::createType()¶
- Deprecated since version
3.0.0
- Will be removed in version
4.0.0
- Alternative
Inject the
TypeFactory
into the constructor and use thecreate()
method. Have a look at the migration section.
- \Brotkrueml\Schema\Core\Model\AbstractType->isEmpty()¶
- Deprecated since version
1.7.0
- Removed in version
2.0.0
- Alternative
None. If you need it use
\Brotkrueml\Schema\Core\Model\AbstractType->getPropertyNames()
and loop over the property names with\Brotkrueml\Schema\Core\Model\AbstractType->getProperty()
.
- \Brotkrueml\Schema\Manager\SchemaManager->setMainEntityOfWebPage()¶
- Deprecated since version
1.4.1
- Removed in version
2.0.0
- Alternative
Use
\Brotkrueml\Schema\Manager\SchemaManager->addMainEntityOfWebPage()
instead. See the API.
- \Brotkrueml\Schema\Provider\TypesProvider¶
- Deprecated since version
1.7.0
- Removed in version
2.0.0
- Alternative
Use
\Brotkrueml\Schema\Type\TypeRegistry
which is a singleton and can be instantiated withGeneralUtility::makeInstance()
or injected with dependency injection.Since version 3.0 there is no alternative available.