for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AlgoWeb\PODataLaravel\Models;
class AssociationStubMonomorphic extends AssociationStubBase
{
public function isCompatible(AssociationStubBase $otherStub)
if (!parent::isCompatible($otherStub)) {
return false;
}
if ($this->getForeignField() !== $otherStub->getKeyField()) {
if
return
return !($this->getForei...erStub->getKeyField());
return true;