예제 #1
0
 /**
  * Creates a new Request entity.
  *
  * @param FacebookApp|null        $app
  * @param array                   $requests
  * @param AccessToken|string|null $accessToken
  * @param string|null             $graphVersion
  */
 public function __construct(FacebookApp $app = null, array $requests = [], $accessToken = null, $graphVersion = null)
 {
     parent::__construct($app, $accessToken, 'POST', '', [], null, $graphVersion);
     $this->add($requests);
 }