Bundle/BusinessEntityBundle/Entity/BusinessEntity.php
public function setDisableForReceiverProperties($receiverProperties = [])
    {
        foreach ($receiverProperties as $receiverProperty => $value) {
            if (!array_key_exists($receiverProperty, $this->businessProperties)) {
                $this->disable = true;
            }
        }
    }
public function setDisableForReceiverProperties($receiverProperties = [])
    {
        foreach ($receiverProperties as $receiverProperty => $value) {
            if (!array_key_exists($receiverProperty, $this->businessProperties)) {
                $this->disable = true;
            }
        }
    }
public function setDisableForReceiverProperties ( $ receiverProperties = [ ] ) { foreach ( $ receiverProperties as $ receiverProperty => $ value ) { if ( ! array_key_exists ( $ receiverProperty , $ this -> businessProperties ) ) { $ this -> disable = true ; } } }
Set disable if BusinessEntity dont have all receiverProperties required.

@param array $receiverProperties
Set disable if BusinessEntity dont have all receiverProperties required .