Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- syntax error, unexpected 'class' (T_CLASS), expecting ',' or ';'
- in C:xampphtdocscontrollersEmployeeController.php
- <?php
- namespace appcontrollers;
- use yiiwebController;
- use appmodelsEmployee
- class EmployeeController extends Controller
- {
- public function actionIndex()
- {
- }
- }
- <?php
- namespace appmodels;
- use yiibaseModel;
- class Employee extends Model{
- public $firstName;
- public $lastName;
- public $middleName;
- public $salary;
- }
Add Comment
Please, Sign In to add comment