src/IdentityModel.php
public function setColumns(array $columns)
    {
        $diff = array_diff(self::REQUIRE_COLUMNS, $columns);
        if ($diff) {
            throw new IdentityException('This column(s) are required: "' . implode('", "', $diff) . '" !');
        }
        $this->columns = $columns;
        return $this;
    }
public function setColumns(array $columns)
    {
        $diff = array_diff(self::REQUIRE_COLUMNS, $columns);
        if ($diff) {
            throw new IdentityException('This column(s) are required: "' . implode('", "', $diff) . '" !');
        }
        $this->columns = $columns;
        return $this;
    }
public function setColumns ( array $ columns ) { $ diff = array_diff ( self :: REQUIRE_COLUMNS , $ columns ) ; if ( $ diff ) { throw new IdentityException ( 'This column(s) are required: "' . implode ( '", "' , $ diff ) . '" !' ) ; } $ this -> columns = $ columns ; return $ this ; }
Set columns.

@param array $columns
@return $this
@throws IdentityException
Set columns .