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 );

    }