src/ConcurrentPhpUtils/ObjectStorage.php
public function attach(Threaded $object, $data = null)
    {
        $this->data[] = $object;
        $this->info[] = $data;
    }
public function attach(Threaded $object, $data = null)
    {
        $this->data[] = $object;
        $this->info[] = $data;
    }
public function attach ( Threaded $ object , $ data = null ) { $ this -> data [ ] = $ object ; $ this -> info [ ] = $ data ; }
Adds an object in the storage

@param Threaded $object
@param mixed $data [optional]
@return void
Adds an object in the storage