class User
{
public $name;
/**
* @var Post[]
*/
public $posts;
}
8
Α͋͘Δ User(1) - Post(N)
class Post
{
public $title;
/**
* @var User
*/
public $user;
}
/30
class User
{
public $name;
/**
* @var Post[]
*/
public $posts;
}
11
user.posts.user = userʢ॥ࢀরʣ
class Post
{
public $title;
/**
* @var User
*/
public $user;
}
/30