Пример #1
0
 /**
  * @return TwitterJsonSerializer
  */
 public static function build()
 {
     return new self(TwitterEventTargetSerializer::build(), TwitterDirectMessageSerializer::build(), TwitterEventSerializer::build(), TwitterFriendsSerializer::build(), TwitterDisconnectSerializer::build(), TwitterDeleteSerializer::build(), TwitterUserSerializer::build());
 }
Пример #2
0
 /**
  * @test
  */
 public function itShouldBuildUsingStaticBuilder()
 {
     $serializer = TwitterDeleteSerializer::build();
     $this->assertInstanceOf(TwitterDeleteSerializer::class, $serializer);
 }