Jackalope\Query\QueryResult::__construct PHP Method

__construct() public method

Create a new query result from raw data from transport.
See also: QueryInterface::query() The raw data format
public __construct ( Jackalope\FactoryInterface $factory, array $rawData, ObjectManager $objectManager )
$factory Jackalope\FactoryInterface the object factory
$rawData array the data as returned by the transport
$objectManager Jackalope\ObjectManager
    public function __construct(FactoryInterface $factory, $rawData, ObjectManager $objectManager)
    {
        $this->factory = $factory;
        $this->rows = $rawData;
        $this->objectmanager = $objectManager;
    }