ViewModel::forge('Abouttwp');
<?php /** * The abouttwpm view model. * * @package app * @extends ViewModel */ class View_Abouttwpm extends ViewModel { /** * Prepare the view data, keeping this in here helps clean up * the controller. * * @return void */ public function view() { $messages = array('Aw, crap!', 'Bloody Hell!', 'Uh Oh!', 'Nope, not here.', 'Huh?'); $this->title = $messages[array_rand($messages)]; } }I've checked the spelling, capitalization and underscores and they seem to match the documentation.
It looks like you're new here. If you want to get involved, click one of these buttons!