コード例 #1
0
 /**
  * Initializes provided context.
  *
  * @param Context $context
  */
 public function initializeContext(Context $context)
 {
     if ($context instanceof ApiClientAwareInterface) {
         $context->setClient($this->client);
         $context->setConfig($this->config);
     }
 }