Samuel Štancl
648acc48c7
remove HasDataColumn trait
2022-10-25 18:04:13 +02:00
lukinovec
42dab2985a
Add current() and currentOrFail() tenant methods ( #970 )
...
* Add and test `Tenant::current()`
* Add and test `Tenant::currentOrFail()`
* Fix code style (php-cs-fixer)
* Update currentOrFail declaration
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
* Change self return type to static
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2022-10-11 10:33:32 +02:00
Samuel Štancl
87212e5390
phpstan, global_cache, resolver improvements, InitializationHelpers trait
2022-09-29 02:47:13 +02:00
Samuel Štancl
55d0a9ab87
misc improvements - stronger types, exception refactor
2022-08-26 21:35:17 +02:00
Abrar Ahmad
97ab483173
Completing PR #881 ( #902 )
...
* install PHP CS Fixer
* Fix styling
* remove StyleCI config
* use config from archtechx/template
* Fix styling
* added `php-cs-fixer`
* Update .php-cs-fixer.php
* added GitHub token
* Update ci.yml
* Update ci.yml
* Update ci.yml
* php-cs-fixer workflow same as template
Co-authored-by: Erik Gaal <me@erikgaal.nl>
Co-authored-by: erikgaal <erikgaal@users.noreply.github.com>
2022-07-20 15:28:45 +02:00
Aleksandr Medvedev
04193cc2fd
Add phpdoc parameter to Tenant magic method for better IDE support ( #565 )
2020-12-19 13:39:16 +01:00
MinaseTaki
f2a3cf028c
Update Tenant.php ( #463 )
2020-07-21 13:04:22 +02:00
Samuel Štancl
e93e766f92
Remove unnecessary typehints
2020-06-08 21:35:41 +02:00
Samuel Štancl
5d94727ddd
Rewrite cached resolver logic to allow for cache invalidation logic
2020-06-02 20:10:17 +02:00
Samuel Štancl
2839f45196
Refactor models & config
2020-05-24 20:40:10 +02:00
stancl
6955512a6b
Apply fixes from StyleCI
2020-05-22 09:01:31 +00:00
Samuel Štancl
ac58f6992b
Use getTenantKey() instead of ->id references
2020-05-20 20:41:47 +02:00
Samuel Štancl
b87c0bc9d2
Add more events
2020-05-17 17:42:09 +02:00
Samuel Štancl
0508429e0f
Fix asset publishing
2020-05-17 15:14:05 +02:00
Samuel Štancl
7a7200fd25
Minor fixes for using the package in an app
2020-05-16 11:56:32 +02:00
Samuel Štancl
28019f4528
Single DB tenancy
2020-05-14 03:57:13 +02:00
Samuel Štancl
5e99fca070
Custom tenant collections
2020-05-14 02:29:14 +02:00
Samuel Štancl
b772590479
Private repo composer.json
2020-05-13 07:12:25 +02:00
Samuel Štancl
de53b81c0e
Change default tenant model, write more tests, cleanup
2020-05-13 06:23:41 +02:00
Samuel Štancl
c32f229dd5
Refactor more old code and get tests to pass
2020-05-13 04:51:37 +02:00
Samuel Štancl
89936187ce
Rewrite old tests
2020-05-12 23:22:40 +02:00
Samuel Štancl
6f4b9f486c
Bootstrapper tests
2020-05-11 03:37:47 +02:00
Samuel Štancl
2492345280
Add methods to Tenant contract
2020-05-10 20:20:44 +02:00
Samuel Štancl
e1a4054743
Domain model & resolver test
2020-05-08 18:16:18 +02:00
Samuel Štancl
7a2e6bb13e
JobPipeline tests
2020-05-08 05:12:46 +02:00
Samuel Štancl
bd9aad229b
vague first draft of v3. TenantModelTest is passing
2020-05-08 04:37:43 +02:00