| 1 | <?php  | 
            ||
| 9 | final class StaticApiFactory implements ApiFactoryInterface  | 
            ||
| 10 | { | 
            ||
| 11 | /** @var string */  | 
            ||
| 12 | private $name;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * StaticApiFactory constructor.  | 
            ||
| 16 | *  | 
            ||
| 17 | * @param string $name  | 
            ||
| 18 | *  | 
            ||
| 19 | * @throws \LogicException  | 
            ||
| 20 | */  | 
            ||
| 21 | 17 | public function __construct($name)  | 
            |
| 31 | |||
| 32 | 17 | public function createApi(RpcClientInterface $client, ApiMetadata $metadata)  | 
            |
| 39 | }  | 
            ||
| 40 |