public function __construct($key, Flingable $previous) { $this->previous = $previous; $this->run(); $previous->setResource($key, $this->resource); }