11<?php
22/**
33 * @copyright Bluz PHP Team
4- * @link https://github.com/bluzphp/skeleton
4+ * @link https://github.com/bluzphp/skeleton
55 */
66
7+ declare (strict_types=1 );
8+
79namespace Application \Test ;
810
911use Bluz \Grid \Grid ;
@@ -30,23 +32,23 @@ public function init()
3032 $ adapter = new ArraySource ();
3133 $ adapter ->setSource (
3234 [
33- [ 'id ' => 1 , 'name ' => 'Foo ' , 'email ' => 'a@bc.com ' , 'status ' => 'active ' ],
34- [ 'id ' => 2 , 'name ' => 'Bar ' , 'email ' => 'd@ef.com ' , 'status ' => 'active ' ],
35- [ 'id ' => 3 , 'name ' => 'Foo 2 ' , 'email ' => 'm@ef.com ' , 'status ' => 'disable ' ],
36- [ 'id ' => 4 , 'name ' => 'Foo 3 ' , 'email ' => 'j@ef.com ' , 'status ' => 'disable ' ],
37- [ 'id ' => 5 , 'name ' => 'Foo 4 ' , 'email ' => 'g@ef.com ' , 'status ' => 'disable ' ],
38- [ 'id ' => 6 , 'name ' => 'Foo 5 ' , 'email ' => 'r@ef.com ' , 'status ' => 'disable ' ],
39- [ 'id ' => 7 , 'name ' => 'Foo 6 ' , 'email ' => 'm@ef.com ' , 'status ' => 'disable ' ],
40- [ 'id ' => 8 , 'name ' => 'Foo 7 ' , 'email ' => 'n@ef.com ' , 'status ' => 'disable ' ],
41- [ 'id ' => 9 , 'name ' => 'Foo 8 ' , 'email ' => 'w@ef.com ' , 'status ' => 'disable ' ],
42- [ 'id ' => 10 , 'name ' => 'Foo 9 ' , 'email ' => 'l@ef.com ' , 'status ' => 'disable ' ],
35+ ['id ' => 1 , 'name ' => 'Foo ' , 'email ' => 'a@bc.com ' , 'status ' => 'active ' ],
36+ ['id ' => 2 , 'name ' => 'Bar ' , 'email ' => 'd@ef.com ' , 'status ' => 'active ' ],
37+ ['id ' => 3 , 'name ' => 'Foo 2 ' , 'email ' => 'm@ef.com ' , 'status ' => 'disable ' ],
38+ ['id ' => 4 , 'name ' => 'Foo 3 ' , 'email ' => 'j@ef.com ' , 'status ' => 'disable ' ],
39+ ['id ' => 5 , 'name ' => 'Foo 4 ' , 'email ' => 'g@ef.com ' , 'status ' => 'disable ' ],
40+ ['id ' => 6 , 'name ' => 'Foo 5 ' , 'email ' => 'r@ef.com ' , 'status ' => 'disable ' ],
41+ ['id ' => 7 , 'name ' => 'Foo 6 ' , 'email ' => 'm@ef.com ' , 'status ' => 'disable ' ],
42+ ['id ' => 8 , 'name ' => 'Foo 7 ' , 'email ' => 'n@ef.com ' , 'status ' => 'disable ' ],
43+ ['id ' => 9 , 'name ' => 'Foo 8 ' , 'email ' => 'w@ef.com ' , 'status ' => 'disable ' ],
44+ ['id ' => 10 , 'name ' => 'Foo 9 ' , 'email ' => 'l@ef.com ' , 'status ' => 'disable ' ],
4345 ]
4446 );
4547
4648 $ this ->setAdapter ($ adapter );
4749 $ this ->setDefaultLimit (3 );
48- $ this ->setAllowOrders ([ 'name ' , 'email ' , 'id ' ]);
49- $ this ->setAllowFilters ([ 'name ' , 'status ' , 'id ' ]);
50+ $ this ->setAllowOrders (['name ' , 'email ' , 'id ' ]);
51+ $ this ->setAllowFilters (['name ' , 'status ' , 'id ' ]);
5052
5153 return $ this ;
5254 }
0 commit comments