protected function createContext(string $class): MappingContext
    {
        $definition = $this->definitionProvider->getDefinition($class);

        return new MappingContext($this, $definition);
    }
protected function createContext(string $class): MappingContext
    {
        $definition = $this->definitionProvider->getDefinition($class);

        return new MappingContext($this, $definition);
    }
protected function createContext ( string $ class ) : MappingContext { $ definition = $ this -> definitionProvider -> getDefinition ( $ class ) ; return new MappingContext ( $ this , $ definition ) ; }
Create mapping context for given class

@param  string $class
@return MappingContext
Create mapping context for given class