/** * View stub for PHPSpec unit test at spec\Anomaly\Lexicon\View\ViewSpec * * @return Engine */ public static function stub() { $data = ['name' => 'Mr. Anderson']; return LexiconStub::factory()->make('test::hello', $data); }
/** * Factory stub for PHPSpec test * * @return Factory */ public static function stub() { return LexiconStub::factory(); }