I
Size: a a a
I
Р
’scope’ => ‘active’
….with([‘contacts’ => static function($query) { $query->active(); }])….
restaurant.rel_contacts.active()
A
v
restaurant.rel_contacts.active()
S
v
S
S
S
v
function getAttributeValue($key)
{
if(array_key_exists($key, $this->attributes)) {
$this->flag = true;
}
return parent::getAttributeValue($key);
}
v
S
S
function getAttributeValue($key)
{
if(array_key_exists($key, $this->attributes)) {
$this->flag = true;
}
return parent::getAttributeValue($key);
}
S
A
NN
PL
NN
PL
NN