xPDOGenerator.compile
Last updated not available | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn morexPDOGenerator::compile¶
Compiles the generated classes into a cached form. In xPDO 3.x the MySQL implementation of this method is a stub that always returns false, so the compile option of parseSchema() and the CLI --compile flag have no effect for MySQL.
Syntax¶
boolean compile ([string $path = ''])
Example¶
$generator = $manager->getGenerator();
$generator->compile($outputDir);
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










