Doctrine self relation YAML

Product:
tableName: product
columns:
id:
type: integer(4)
primary: true
autoincrement: true
parent_id:
type: integer(4)
name:
type: string(255)
price:
type: float(10)
description:
type: string()
relations:
Accessories:
type: many
class: Product
local: id
foreign: parent_id

$product = Doctrine::getTable(‘Product’)->find(1);

var_dump($product->id);
var_dump($product->Accessories->toArray());