SoftDelete\Model\Table\SoftDeleteTrait::getSoftDeleteField PHP Метод

getSoftDeleteField() публичный Метод

Get the configured deletion field
public getSoftDeleteField ( ) : string
Результат string
    public function getSoftDeleteField()
    {
        if (isset($this->softDeleteField)) {
            $field = $this->softDeleteField;
        } else {
            $field = 'deleted';
        }
        if ($this->schema()->column($field) === null) {
            throw new MissingColumnException(__('Configured field `{0}` is missing from the table `{1}`.', $field, $this->alias()));
        }
        return $field;
    }