public function hasOnDelete()
    {
        $database = $this->getTable()->getDatabase();
        if($database instanceof Database &&
               $this->onDelete === $database->getPlatform()->getDefaultFKOnDeleteBehavior()) {
          return false;
        }

        return ($this->onDelete !== self::NONE);
    }
public function hasOnDelete()
    {
        $database = $this->getTable()->getDatabase();
        if($database instanceof Database &&
               $this->onDelete === $database->getPlatform()->getDefaultFKOnDeleteBehavior()) {
          return false;
        }

        return ($this->onDelete !== self::NONE);
    }
public function hasOnDelete ( ) { $ database = $ this -> getTable ( ) -> getDatabase ( ) ; if ( $ database instanceof Database && $ this -> onDelete === $ database -> getPlatform ( ) -> getDefaultFKOnDeleteBehavior ( ) ) { return false ; } return ( $ this -> onDelete !== self :: NONE ) ; }
returns whether or not the onDelete attribute is set
returns whether or not the onDelete attribute is set