Mongolid\Cursor\EmbeddedCursor::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $entityClass, array $items )
$entityClass string Class of the objects that will be retrieved by the cursor.
$items array The items array.
    public function __construct(string $entityClass, array $items)
    {
        $this->items = $items;
        $this->entityClass = $entityClass;
    }