This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
ssl_certificate /opt/homebrew/etc/nginx/ssl/{{host}}.crt; | |
ssl_certificate_key /opt/homebrew/etc/nginx/ssl/{{host}}.key; | |
ssl_ciphers HIGH:!aNULL:!MD5; | |
# listen 80; | |
server_name {{host}}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
ssl_certificate /opt/homebrew/etc/nginx/ssl/{{host}}.crt; | |
ssl_certificate_key /opt/homebrew/etc/nginx/ssl/{{host}}.key; | |
ssl_ciphers HIGH:!aNULL:!MD5; | |
# listen 80; | |
server_name {{host}}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
ssl_certificate /opt/homebrew/etc/nginx/ssl/{{host}}.crt; | |
ssl_certificate_key /opt/homebrew/etc/nginx/ssl/{{host}}.key; | |
ssl_ciphers HIGH:!aNULL:!MD5; | |
# listen 80; | |
server_name {{host}}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Usage | |
$jomashopEbayItemsRequest = new RequestItemsFromStore(); | |
$jomashopEbayItemsRequest->setStore('jomashop'); | |
$jomashopEbayItems = $jomashopEbayItemsRequest->getAllItems(); | |
$worldOfWatchesEbayItemsRequest = new RequestItemsFromStore(); | |
$jomashopEbayItemsRequest->setStore('woldofwatches'); | |
$worldOfWatchesEbayItems = $jomashopEbayItemsRequest->getAllItems(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class RequestItemsFromStore { | |
public function __construct(){ | |
$this->eBayService = new DavidSadler\Services\ShoppingService; | |
} | |
public function setStore($store){ | |
$this->storeName = $store; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RequestItemsFromStore { | |
public function __construct(){ | |
$this->eBayService = new DavidSadler\Services\ShoppingService; | |
} | |
public function setStore($store){ | |
$this->storeName = $store; | |
} |