コード例 #1
0
ファイル: Video.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $api
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function addApi($api)
 {
     $this->validateIn($api, ApiFrameworks::getAll());
     $this->api[] = $api;
     return $this;
 }
コード例 #2
0
 public function testGetAll()
 {
     $result = ApiFrameworks::getAll();
     $this->assertTrue(is_array($result));
 }