for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Drupal\graphql\GraphQL\Type\Scalars;
use Youshido\GraphQL\Type\Scalar\AbstractScalarType;
class MapType extends AbstractScalarType {
/**
* {@inheritdoc}
*/
public function getName() {
return 'Map';
}
public function serialize($value) {
public function isValidValue($value) {
return is_array($value);