You are here

class PsrHttpFactory in Views OAI-PMH 8

Hierarchy

Expanded class hierarchy of PsrHttpFactory

1 string reference to 'PsrHttpFactory'
views_oai_pmh.services.yml in ./views_oai_pmh.services.yml
views_oai_pmh.services.yml
1 service uses PsrHttpFactory
views_oai_pmh.psr7_request_factory in ./views_oai_pmh.services.yml
Drupal\views_oai_pmh\Service\PsrHttpFactory

File

src/Service/PsrHttpFactory.php, line 12

Namespace

Drupal\views_oai_pmh\Service
View source
class PsrHttpFactory {

  /**
   *
   */
  public function createDiactorosFactory(RequestStack $stack) {
    $psr17Factory = new Psr17Factory();
    $request = new PsrHttpFactorySymfony($psr17Factory, $psr17Factory, $psr17Factory, $psr17Factory);
    return $request
      ->createRequest($stack
      ->getCurrentRequest());
  }

}

Members