Can't get duplicationManager working

11 views
Skip to first unread message

Ruari Mactaggart

unread,
Sep 12, 2017, 11:10:45 AM9/12/17
to redbeanphp
I'm trying to speed up duplication with duplication manager, as described in 4.x documentation, as follows;

$schema R::$duplicationManager->getSchema();
R::$duplicationManager->setTables$schema );

I'm getting the followign error;

Cannot access property R::$duplicationManager

gabor

unread,
Sep 12, 2017, 2:04:20 PM9/12/17
to redbeanphp

Thanks for reporting this issue, this is a mistake in the documentation.
It has been fixed, use:

R::getDuplicationManager()->setTables( $schema );

etc
...

https://redbeanphp.com/index.php?p=/duplicate

cheers
Gabor
Reply all
Reply to author
Forward
0 new messages