Skip to content

Commit

Permalink
Remove references to Routable
Browse files Browse the repository at this point in the history
  • Loading branch information
mvriel committed Nov 23, 2019
1 parent f158518 commit 40ee3f7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/phpDocumentor/Transformer/Writer/Collection.php
Expand Up @@ -20,8 +20,7 @@
/**
* A collection of Writer objects.
*
* In this collection we can receive writers, and if they implement the Routable interface assign the router queue that
* was provided to this class so that those writers can generate urls for various Descriptors.
* In this collection we can receive writers.
*
* In addition this class can also verify if all requirements for the various writers in it are met.
*/
Expand Down Expand Up @@ -68,11 +67,6 @@ public function offsetSet($index, $newval)
);
}

// if the writer supports routes, provide them with the router queue
if ($newval instanceof Routable) {
$newval->setRouters($this->routers);
}

parent::offsetSet($index, $newval);
}

Expand Down

0 comments on commit 40ee3f7

Please sign in to comment.