1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 17:14:03 +00:00
Commit graph

17 commits

Author SHA1 Message Date
lukinovec
c4fb7b225e
Use static instead of tenancy()
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2023-06-27 10:10:54 +02:00
lukinovec
89b9e1bfd9 Filter out non-model array items 2023-06-19 15:30:26 +02:00
PHP CS Fixer
033f9a4dca Fix code style (php-cs-fixer) 2023-06-19 13:26:02 +00:00
lukinovec
9262d95ce4 Revert try/catch removal, add/update comments 2023-06-19 15:24:39 +02:00
lukinovec
376f7ba0b0 Fix variable name 2023-06-19 14:09:40 +02:00
lukinovec
171b01ba9d Fix PHPStan error, update variable names 2023-06-19 14:02:18 +02:00
PHP CS Fixer
032e29ac79 Fix code style (php-cs-fixer) 2023-06-19 11:55:44 +00:00
lukinovec
eddb95c014 Use reflection instead of try/catch, use arrays instead of collections 2023-06-19 13:53:27 +02:00
lukinovec
8d13ce7e2f Add/update comments 2023-06-19 12:57:16 +02:00
lukinovec
f859a5da06 Move RLS toggling and model directories config to tenancy.rls 2023-06-15 10:27:18 +02:00
lukinovec
6b19a26d2c Automatically scan subdirectories in getModels() 2023-06-15 10:20:18 +02:00
PHP CS Fixer
37b36430e5 Fix code style (php-cs-fixer) 2023-06-15 07:33:39 +00:00
lukinovec
7d77c171d5 Delete unused method 2023-06-15 09:33:05 +02:00
lukinovec
97f227a037 Use instanceof instead of class_parents() 2023-06-15 09:32:56 +02:00
lukinovec
00af2d6eaf Check for class traits instead of the DB columns 2023-06-15 09:32:25 +02:00
PHP CS Fixer
f0faf41522 Fix code style (php-cs-fixer) 2023-06-07 13:01:53 +00:00
lukinovec
ac00f03273 Move model-related things from Tenancy to a trait 2023-06-07 14:45:36 +02:00