src/Neutrino/Model.php
protected function softDeletable($name, array $options = [])
    {
        if ((isset($options['autoInsert']) && $options['autoInsert']) ||
            (isset($options['autoUpdate']) && $options['autoUpdate'])
        ) {
            throw new \RuntimeException('Model: A timestampable field can\'t have autoInsert or autoUpdate.');
        }

        self::column($name, isset($options['type']) ? $options['type'] : Column::TYPE_BOOLEAN, $options);

        $this->addBehavior(new SoftDelete([
            'field' => $name,
            'value' => isset($options['value']) ? $options['value'] : true
        ]));
    }
protected function softDeletable($name, array $options = [])
    {
        if ((isset($options['autoInsert']) && $options['autoInsert']) ||
            (isset($options['autoUpdate']) && $options['autoUpdate'])
        ) {
            throw new \RuntimeException('Model: A timestampable field can\'t have autoInsert or autoUpdate.');
        }

        self::column($name, isset($options['type']) ? $options['type'] : Column::TYPE_BOOLEAN, $options);

        $this->addBehavior(new SoftDelete([
            'field' => $name,
            'value' => isset($options['value']) ? $options['value'] : true
        ]));
    }
Define a softDeleted column.
Automatically add the SoftDelete behavior.

@param string $name
@param array  $options