protected function _getNoCascadeItems($entity, $options)
    {
        $noCascade = [];
        foreach ($this->_items as $assoc) {
            if (!$assoc->getCascadeCallbacks()) {
                $noCascade[] = $assoc;
                continue;
            }
            $assoc->cascadeDelete($entity, $options);
        }

        return $noCascade;
    }
protected function _getNoCascadeItems($entity, $options)
    {
        $noCascade = [];
        foreach ($this->_items as $assoc) {
            if (!$assoc->getCascadeCallbacks()) {
                $noCascade[] = $assoc;
                continue;
            }
            $assoc->cascadeDelete($entity, $options);
        }

        return $noCascade;
    }
protected function _getNoCascadeItems ( $ entity , $ options ) { $ noCascade = [ ] ; foreach ( $ this -> _items as $ assoc ) { if ( ! $ assoc -> getCascadeCallbacks ( ) ) { $ noCascade [ ] = $ assoc ; continue ; } $ assoc -> cascadeDelete ( $ entity , $ options ) ; } return $ noCascade ; }
Returns items that have no cascade callback.

@param \Cake\Datasource\EntityInterface $entity The entity to delete associations for.
@param array $options The options used in the delete operation.
@return \Cake\ORM\Association[]
Returns items that have no cascade callback .