/** * @inheritdoc */ public function index(EncodingParametersInterface $parameters = null, array $relations = []) { $relations = [Post::REL_USER, Post::REL_BOARD, Post::REL_COMMENTS]; return parent::index($parameters, $relations); }
/** * @inheritdoc */ public function index(EncodingParametersInterface $parameters = null, array $relations = []) { $relations = [User::REL_ROLE, User::REL_POSTS, User::REL_COMMENTS]; return parent::index($parameters, $relations); }
/** * @inheritdoc */ public function index(EncodingParametersInterface $parameters = null, array $relations = []) { $relations = [Board::REL_POSTS]; return parent::index($parameters, $relations); }