src/Result.php
public function jsonLDSerialize(string $context = self::DEFAULT_CONTEXT, bool $types = NULL)
    {
        return array_map(function($m) use ($context, $types) {
            return $m->jsonLDSerialize($context, $types ?? true); 
        }, $this->members);
    }
public function jsonLDSerialize(string $context = self::DEFAULT_CONTEXT, bool $types = NULL)
    {
        return array_map(function($m) use ($context, $types) {
            return $m->jsonLDSerialize($context, $types ?? true); 
        }, $this->members);
    }
public function jsonLDSerialize ( string $ context = self :: DEFAULT_CONTEXT , bool $ types = NULL ) { return array_map ( function ( $ m ) use ( $ context , $ types ) { return $ m -> jsonLDSerialize ( $ context , $ types ?? true ) ; } , $ this -> members ) ; }
Serialize with type and context fields for each member.
Serialize with type and context fields for each member .