File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -55,62 +55,89 @@ public static function fromNotification(Notification $notification): self
55
55
return $ options ;
56
56
}
57
57
58
+ /**
59
+ * @return $this
60
+ */
58
61
public function contentCertificationRecord (string $ contentCertificationRecord ): self
59
62
{
60
63
$ this ->options ['contentCertificationRecord ' ] = $ contentCertificationRecord ;
61
64
62
65
return $ this ;
63
66
}
64
67
68
+ /**
69
+ * @return $this
70
+ */
65
71
public function firstPublishedAt (int $ firstPublishedAt ): self
66
72
{
67
73
$ this ->options ['firstPublishedAt ' ] = $ firstPublishedAt ;
68
74
69
75
return $ this ;
70
76
}
71
77
78
+ /**
79
+ * @return $this
80
+ */
72
81
public function lifecycleState (LifecycleStateShare $ lifecycleStateOption ): self
73
82
{
74
83
$ this ->options ['lifecycleState ' ] = $ lifecycleStateOption ->lifecycleState ();
75
84
76
85
return $ this ;
77
86
}
78
87
88
+ /**
89
+ * @return $this
90
+ */
79
91
public function origin (string $ origin ): self
80
92
{
81
93
$ this ->options ['origin ' ] = $ origin ;
82
94
83
95
return $ this ;
84
96
}
85
97
98
+ /**
99
+ * @return $this
100
+ */
86
101
public function ugcOrigin (string $ ugcOrigin ): self
87
102
{
88
103
$ this ->options ['ugcOrigin ' ] = $ ugcOrigin ;
89
104
90
105
return $ this ;
91
106
}
92
107
108
+ /**
109
+ * @return $this
110
+ */
93
111
public function versionTag (string $ versionTag ): self
94
112
{
95
113
$ this ->options ['versionTag ' ] = $ versionTag ;
96
114
97
115
return $ this ;
98
116
}
99
117
118
+ /**
119
+ * @return $this
120
+ */
100
121
public function specificContent (ShareContentShare $ specificContent ): self
101
122
{
102
123
$ this ->options ['specificContent ' ]['com.linkedin.ugc.ShareContent ' ] = $ specificContent ->toArray ();
103
124
104
125
return $ this ;
105
126
}
106
127
128
+ /**
129
+ * @return $this
130
+ */
107
131
public function author (AuthorShare $ authorOption ): self
108
132
{
109
133
$ this ->options ['author ' ] = $ authorOption ->author ();
110
134
111
135
return $ this ;
112
136
}
113
137
138
+ /**
139
+ * @return $this
140
+ */
114
141
public function visibility (VisibilityShare $ visibilityOption ): self
115
142
{
116
143
$ this ->options ['visibility ' ] = $ visibilityOption ->toArray ();
You can’t perform that action at this time.
0 commit comments