Example #1
0
 /**
  * @param Spider\Component\Config
  */
 public function __construct(Config $Config)
 {
     $Storage = $Config->getStorage();
     $Connection = $Config->getConnection();
     $this->script = escapeshellarg(__DIR__ . "/../bin/weeve.php");
     $this->conn = base64_encode($Connection->sleep());
     $this->storage = base64_encode($Storage->sleep());
     $this->memory = $Config->getMemory();
     $this->table = $Config->getTable();
     $this->trace = $Config->getTrace();
 }