src/Projection/ProjectionType.php
public function createEntity(array $data = [], EntityInterface $parent_entity = null, $apply_default_values = false)
    {
        return parent::createEntity($data, $parent_entity, true);
    }
public function createEntity(array $data = [], EntityInterface $parent_entity = null, $apply_default_values = false)
    {
        return parent::createEntity($data, $parent_entity, true);
    }
public function createEntity ( array $ data = [ ] , EntityInterface $ parent_entity = null , $ apply_default_values = false ) { return parent :: createEntity ( $ data , $ parent_entity , true ) ; }
Creates a new Projection instance.

@param array $data Optional data for initial hydration.
@param EntityInterface $parent_entity
@param boolean $apply_default_values

@return ProjectionInterface

@throws InvalidTypeException
Creates a new Projection instance .