public function optimize()
    {
        $this->optimizeStringField()
            ->optimizeRequiredField()
            ->optimizeDateFields()
            ->optimizeBoolean()
            ->optimizePrimaryKey()
            ->optimizeValidations()
            ->optimizeHtmlType()
            ->addPlaceHolder();

        return $this;
    }
public function optimize()
    {
        $this->optimizeStringField()
            ->optimizeRequiredField()
            ->optimizeDateFields()
            ->optimizeBoolean()
            ->optimizePrimaryKey()
            ->optimizeValidations()
            ->optimizeHtmlType()
            ->addPlaceHolder();

        return $this;
    }
public function optimize ( ) { $ this -> optimizeStringField ( ) -> optimizeRequiredField ( ) -> optimizeDateFields ( ) -> optimizeBoolean ( ) -> optimizePrimaryKey ( ) -> optimizeValidations ( ) -> optimizeHtmlType ( ) -> addPlaceHolder ( ) ; return $ this ; }
Optimizes the field.

@return $this
Optimizes the field .