Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace App\Controller;
- class MyCustomersController extends AppController
- {
- public function initialize()
- {
- parent::initialize();
- $this->loadComponent('RequestHandler');
- }
- public function customers()
- {
- $customers['id'] = '123';
- $this->set('customers', $customers);
- $this->set('_serialize', ['customers']);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement