📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv3.demodesign.com.tr
/
vendor
/
react
/
socket
/
src
📝
FixedUriConnector.php
← Geri Dön
<?php namespace React\Socket; /** * Decorates an existing Connector to always use a fixed, preconfigured URI * * This can be useful for consumers that do not support certain URIs, such as * when you want to explicitly connect to a Unix domain socket (UDS) path * instead of connecting to a default address assumed by an higher-level API: * * ```php * $connector = new FixedUriConnector( * 'unix:///var/run/docker.sock', * new UnixConnector($loop) * ); * * // destination will be ignored, actually connects to Unix domain socket * $promise = $connector->connect('localhost:80'); * ``` */ class FixedUriConnector implements ConnectorInterface { private $uri; private $connector; /** * @param string $uri * @param ConnectorInterface $connector */ public function __construct($uri, ConnectorInterface $connector) { $this->uri = $uri; $this->connector = $connector; } public function connect($_) { return $this->connector->connect($this->uri); } }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula