Library/Bullhorn/FastRest/Generator/ControllerBuilder.php
private function getDeletionPreventingParents() {
        $parentEntities = array();
        foreach($this->getModelBuilder()->getRelationships() as $relationship) {
            if($relationship->isPlural() && !$relationship->isNullable() && $relationship->getAction() != 'ACTION_CASCADE') {
                $parentEntities[] = $relationship->getAlias();
            }
        }

        return $parentEntities;
    }
private function getDeletionPreventingParents() {
        $parentEntities = array();
        foreach($this->getModelBuilder()->getRelationships() as $relationship) {
            if($relationship->isPlural() && !$relationship->isNullable() && $relationship->getAction() != 'ACTION_CASCADE') {
                $parentEntities[] = $relationship->getAlias();
            }
        }

        return $parentEntities;
    }
private function getDeletionPreventingParents ( ) { $ parentEntities = array ( ) ; foreach ( $ this -> getModelBuilder ( ) -> getRelationships ( ) as $ relationship ) { if ( $ relationship -> isPlural ( ) && ! $ relationship -> isNullable ( ) && $ relationship -> getAction ( ) != 'ACTION_CASCADE' ) { $ parentEntities [ ] = $ relationship -> getAlias ( ) ; } } return $ parentEntities ; }
Return the parents that prevent deletion
@return array
Return the parents that prevent deletion