Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getTypeGuessers example
abstract
class
FormIntegrationTestCase
extends
TestCase
{
protected
FormFactoryInterface
$factory
;
protected
function
setUp
(
)
: void
{
$this
->factory = Forms::
createFormFactoryBuilder
(
)
->
addExtensions
(
$this
->
getExtensions
(
)
)
->
addTypeExtensions
(
$this
->
getTypeExtensions
(
)
)
->
addTypes
(
$this
->
getTypes
(
)
)
->
addTypeGuessers
(
$this
->
getTypeGuessers
(
)
)
->
getFormFactory
(
)
;
}
protected
function
getExtensions
(
)
{
return
[
]
;
}
protected
function
getTypeExtensions
(
)
{
return
[
]
;
}