src/Field.php
public function setName($name) {
        if (strlen($name) > self::MAX_NAME_LENGTH) {
            throw new Exception("Field name cannot be longer than ".self::MAX_NAME_LENGTH." characters");
        }
        $this->name = $name;
        return $this;
    }
public function setName($name) {
        if (strlen($name) > self::MAX_NAME_LENGTH) {
            throw new Exception("Field name cannot be longer than ".self::MAX_NAME_LENGTH." characters");
        }
        $this->name = $name;
        return $this;
    }
public function setName ( $ name ) { if ( strlen ( $ name ) > self :: MAX_NAME_LENGTH ) { throw new Exception ( "Field name cannot be longer than " . self :: MAX_NAME_LENGTH . " characters" ) ; } $ this -> name = $ name ; return $ this ; }
Sets filed name

@param string $name

@return \org\majkel\dbase\Field
@throws \org\majkel\dbase\Exception
Sets filed name