Bravo3\Orm\Proxy\OrmProxyInterface::isRelativeModified PHP Method

isRelativeModified() public method

Check if a relationship has been modified
public isRelativeModified ( string $name ) : boolean
$name string
return boolean
    public function isRelativeModified($name);

Usage Example

Beispiel #1
0
 private function validateProxyInterface(OrmProxyInterface $proxy)
 {
     $this->assertFalse($proxy->isRelativeModified('foo'));
     $proxy->setRelativeModified('foo');
     $this->assertTrue($proxy->isRelativeModified('foo'));
 }