TranslationCollectionType::getParent()

string|null|FormTypeInterface getParent()

Returns the name of the parent type.

You can also return a type instance from this method, although doing so is discouraged because it leads to a performance penalty. The support for returning type instances may be dropped from future releases.

Return Value

string|null|FormTypeInterface The name of the parent type if any, null otherwise.
doc_Symfony
2016-10-28 06:35:06
Comments
Leave a Comment

Please login to continue.