src/Dal/Generator/DaoClassGenerator.php
private function AddPropertyPhpDoc($columnMetadata, $isSetter = true) {
        $output = $this->_TAB2 . \Puzzlout\Framework\GeneratorEngine\CodeSnippets\PhpDocSnippets::OPENING .
                $this->_TAB2 . $this->_LF;
        $placeholders = array(
            "{{set_dynamic_code}}" => strtr(CodeSnippets\PhpDocSnippets::SET_PROPERTY_SUMMARY, array(Placeholders\PhpDocPlaceholders::SET_PROPERTY => $columnMetadata["Field"])),
            "{{get_dynamic_code}}" => strtr(CodeSnippets\PhpDocSnippets::GET_PROPERTY_SUMMARY, array(Placeholders\PhpDocPlaceholders::GET_PROPERTY => $columnMetadata["Field"]))
        );
        if ($isSetter) {
            $output .= $this->_TAB2 . strtr("{{set_dynamic_code}}", $placeholders);
        } else {
            $output .= $this->_TAB2 . strtr("{{get_dynamic_code}}", $placeholders);
        }
        $output .= $this->_LF . $this->_TAB2 . CodeSnippets\PhpDocSnippets::CLOSING . $this->_LF;
        return $output;
    }
private function AddPropertyPhpDoc($columnMetadata, $isSetter = true) {
        $output = $this->_TAB2 . \Puzzlout\Framework\GeneratorEngine\CodeSnippets\PhpDocSnippets::OPENING .
                $this->_TAB2 . $this->_LF;
        $placeholders = array(
            "{{set_dynamic_code}}" => strtr(CodeSnippets\PhpDocSnippets::SET_PROPERTY_SUMMARY, array(Placeholders\PhpDocPlaceholders::SET_PROPERTY => $columnMetadata["Field"])),
            "{{get_dynamic_code}}" => strtr(CodeSnippets\PhpDocSnippets::GET_PROPERTY_SUMMARY, array(Placeholders\PhpDocPlaceholders::GET_PROPERTY => $columnMetadata["Field"]))
        );
        if ($isSetter) {
            $output .= $this->_TAB2 . strtr("{{set_dynamic_code}}", $placeholders);
        } else {
            $output .= $this->_TAB2 . strtr("{{get_dynamic_code}}", $placeholders);
        }
        $output .= $this->_LF . $this->_TAB2 . CodeSnippets\PhpDocSnippets::CLOSING . $this->_LF;
        return $output;
    }
private function AddPropertyPhpDoc ( $ columnMetadata , $ isSetter = true ) { $ output = $ this -> _TAB2 . \ Puzzlout \ Framework \ GeneratorEngine \ CodeSnippets \ PhpDocSnippets :: OPENING . $ this -> _TAB2 . $ this -> _LF ; $ placeholders = array ( "{{set_dynamic_code}}" => strtr ( CodeSnippets \ PhpDocSnippets :: SET_PROPERTY_SUMMARY , array ( Placeholders \ PhpDocPlaceholders :: SET_PROPERTY => $ columnMetadata [ "Field" ] ) ) , "{{get_dynamic_code}}" => strtr ( CodeSnippets \ PhpDocSnippets :: GET_PROPERTY_SUMMARY , array ( Placeholders \ PhpDocPlaceholders :: GET_PROPERTY => $ columnMetadata [ "Field" ] ) ) ) ; if ( $ isSetter ) { $ output .= $ this -> _TAB2 . strtr ( "{{set_dynamic_code}}" , $ placeholders ) ; } else { $ output .= $ this -> _TAB2 . strtr ( "{{get_dynamic_code}}" , $ placeholders ) ; } $ output .= $ this -> _LF . $ this -> _TAB2 . CodeSnippets \ PhpDocSnippets :: CLOSING . $ this -> _LF ; return $ output ; }
Writes the PhpDoc for the setter and getter functions from a column
metadata.

@param type $columnMetadata : Metadata for a column.
Writes the PhpDoc for the setter and getter functions from a column metadata .