// Below is the code (cut and pasted from the tutorial) that causes freezing at "Page" in the dev/build process
<?php
class ArticleHolder extends Page {
private static $allowed_children = array('ArticlePage');
}
class ArticleHolder_Controller extends Page_Controller {
}
// if line 3 is commented out as shown below, the dev/build completes successfully
<?php
class ArticleHolder extends Page {
// private static $allowed_children = array('ArticlePage');
}
class ArticleHolder_Controller extends Page_Controller {
}
/*
I've tried multiple iterations - edits of "private" and "static" out of line 3 without success. The Silver Stripe package was installed with WebMatrix 3. What is line 3 doing to crash the dev/build?
*/