Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
014a548096
|
||
|
|
298a1e34ac
|
||
|
|
4af7ae3521
|
||
|
|
9d4cb86d41
|
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
<?php namespace SokoWeb\Interfaces\Authentication;
|
||||||
|
|
||||||
|
interface IAuthenticationRequired
|
||||||
|
{
|
||||||
|
public function isAuthenticationRequired(): bool;
|
||||||
|
}
|
||||||
@@ -57,7 +57,7 @@ class PersistentDataManager
|
|||||||
$value = current($data);
|
$value = current($data);
|
||||||
$relation = key($relations);
|
$relation = key($relations);
|
||||||
|
|
||||||
if (strpos($key, '__') == false) {
|
if (strpos($key, '__') === false) {
|
||||||
$method = 'set' . str_replace('_', '', ucwords($key, '_'));
|
$method = 'set' . str_replace('_', '', ucwords($key, '_'));
|
||||||
|
|
||||||
if (method_exists($model, $method) && isset($value)) {
|
if (method_exists($model, $method) && isset($value)) {
|
||||||
|
|||||||
Reference in new issue
Block a user