protected function addFKAttributes(&$script, ForeignKey $fk)
    {
        $className = $this->getClassNameFromTable($fk->getForeignTable());
        $varName = $this->getFKVarName($fk);

        $script .= "
    /**
     * @var        $className
     */
    protected $".$varName.";
";
    }
protected function addFKAttributes(&$script, ForeignKey $fk)
    {
        $className = $this->getClassNameFromTable($fk->getForeignTable());
        $varName = $this->getFKVarName($fk);

        $script .= "
    /**
     * @var        $className
     */
    protected $".$varName.";
";
    }
protected function addFKAttributes ( & $ script , ForeignKey $ fk ) { $ className = $ this -> getClassNameFromTable ( $ fk -> getForeignTable ( ) ) ; $ varName = $ this -> getFKVarName ( $ fk ) ; $ script .= "
    /**
     * @var        $className
     */
    protected $" . $ varName . ";
" ; }
Adds the class attributes that are needed to store fkey related objects.
@param string     &$script The script will be modified in this method.
@param ForeignKey $fk
Adds the class attributes that are needed to store fkey related objects .