Storm\Api\Configuration::Storm PHP Method

Storm() public method

public Storm ( )
    public function Storm()
    {
        if ($this->Cache === null) {
            $Factory = $this->DomainDatabaseMapFactory;
            return new Base\Storm($Factory(), $this->Connection, $this->ProxyGenerator, $this->ClosureReader, $this->ClosureParser);
        } else {
            return new Caching\Storm($this->DomainDatabaseMapFactory, $this->Connection, $this->ProxyGenerator, $this->ClosureReader, $this->ClosureParser, $this->Cache);
        }
    }