Interface OptionalConvertInterface

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

Namespace: Cake\Database\Type

Method Summary

  • requiresToPhpCast() public

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

Method Detail

requiresToPhpCast() public

requiresToPhpCast()

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

Returns

bool

© 2005–present 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/4.0/interface-Cake.Database.Type.OptionalConvertInterface.html