public function buildRef(ItemReferenceInterface $item,array $config) {
        $mask = $config['mask'];
        $className = $config['className'];
        $field = $config['field'];
        $qb = $this->sequenceGenerator->createQueryBuilder();
        $qb->from($className,'p');
        return $this->sequenceGenerator->generateNext($qb, $mask,$field,[],$config);
    }
public function buildRef(ItemReferenceInterface $item,array $config) {
        $mask = $config['mask'];
        $className = $config['className'];
        $field = $config['field'];
        $qb = $this->sequenceGenerator->createQueryBuilder();
        $qb->from($className,'p');
        return $this->sequenceGenerator->generateNext($qb, $mask,$field,[],$config);
    }
public function buildRef ( ItemReferenceInterface $ item , array $ config ) { $ mask = $ config [ 'mask' ] ; $ className = $ config [ 'className' ] ; $ field = $ config [ 'field' ] ; $ qb = $ this -> sequenceGenerator -> createQueryBuilder ( ) ; $ qb -> from ( $ className , 'p' ) ; return $ this -> sequenceGenerator -> generateNext ( $ qb , $ mask , $ field , [ ] , $ config ) ; }
Construye la referencia por defecto
@param ItemReferenceInterface $item
@param array $config
@return type
Construye la referencia por defecto