private function addSymfonyFormCompatibleGetter( $name )
    {

        $fnName = "get".\Bond\pascal_case($name);
        $fnBody = sprintf(
            "function %s() { return \$this->get('%s'); }",
            $fnName,
            addslashes( $name )
        );

        $this->class->classComponents[] = new FunctionDeclaration( $fnName, $fnBody );

    }
private function addSymfonyFormCompatibleGetter( $name )
    {

        $fnName = "get".\Bond\pascal_case($name);
        $fnBody = sprintf(
            "function %s() { return \$this->get('%s'); }",
            $fnName,
            addslashes( $name )
        );

        $this->class->classComponents[] = new FunctionDeclaration( $fnName, $fnBody );

    }
private function addSymfonyFormCompatibleGetter ( $ name ) { $ fnName = "get" . \ Bond \ pascal_case ( $ name ) ; $ fnBody = sprintf ( "function %s() { return \$this->get('%s'); }" , $ fnName , addslashes ( $ name ) ) ; $ this -> class -> classComponents [ ] = new FunctionDeclaration ( $ fnName , $ fnBody ) ; }
Build a symfony2 form compatible getter
@param propertyName $name
Build a symfony2 form compatible getter