public function objectAttributes($builder)
    {
        $relationName = $this->getRelationName($builder);
        $relatedClass = $builder->getClassNameFromBuilder($builder->getNewStubObjectBuilder($this->getForeignTable()));
        $aggregateName = $this->getParameter('aggregate_name');

        return "/**
 * @var $relatedClass
 */
protected \$old{$relationName}{$aggregateName};
";
    }
public function objectAttributes($builder)
    {
        $relationName = $this->getRelationName($builder);
        $relatedClass = $builder->getClassNameFromBuilder($builder->getNewStubObjectBuilder($this->getForeignTable()));
        $aggregateName = $this->getParameter('aggregate_name');

        return "/**
 * @var $relatedClass
 */
protected \$old{$relationName}{$aggregateName};
";
    }
public function objectAttributes ( $ builder ) { $ relationName = $ this -> getRelationName ( $ builder ) ; $ relatedClass = $ builder -> getClassNameFromBuilder ( $ builder -> getNewStubObjectBuilder ( $ this -> getForeignTable ( ) ) ) ; $ aggregateName = $ this -> getParameter ( 'aggregate_name' ) ; return "/**
 * @var $relatedClass
 */
protected \$old{$relationName}{$aggregateName};
" ; }
which already has a hook
which already has a hook