for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace As3\Modlr\DataTypes\Types;
/**
* The object data type converter.
*
* @author Jacob Bare <[email protected]>
*/
class ObjectType implements TypeInterface
{
* {@inheritDoc}
public function convertToModlrValue($value)
if (empty($value)) {
return null;
}
return (Object) $value;