W3cubDocs

/CakePHP 3.4

Interface OptionalConvertInterface

An interface used by Type objects to signal whether the casting is actually required.

Direct Implementers

Indirect Implementers

Method Summary

  • Returns whether the cast to PHP is required to be invoked, since it is not a identity function.

Method Detail

requiresToPhpCast()source public

requiresToPhpCast( )

Returns whether the cast to PHP is required to be invoked, since it is not a identity function.

Returns

boolean

© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.4/class-Cake.Database.Type.OptionalConvertInterface.html