original_string: protected function _getNoCascadeItems($entity, $options)
      {
          $noCascade = [];
          foreach ($this->_items as $assoc) {
              if (!$assoc->getCascadeCallbacks()) {
                  $noCascade[] = $assoc;
                  continue;
              }
              $assoc->cascadeDelete($entity, $options);
          }
  
          return $noCascade;
      }
code: protected function _getNoCascadeItems($entity, $options)
      {
          $noCascade = [];
          foreach ($this->_items as $assoc) {
              if (!$assoc->getCascadeCallbacks()) {
                  $noCascade[] = $assoc;
                  continue;
              }
              $assoc->cascadeDelete($entity, $options);
          }
  
          return $noCascade;
      }
code_tokens: protected function _getNoCascadeItems ( $ entity , $ options ) { $ noCascade = [ ] ; foreach ( $ this -> _items as $ assoc ) { if ( ! $ assoc -> getCascadeCallbacks ( ) ) { $ noCascade [ ] = $ assoc ; continue ; } $ assoc -> cascadeDelete ( $ entity , $ options ) ; } return $ noCascade ; }
docstring: 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[]
docstring_tokens: Returns items that have no cascade callback .