Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
Remove depreceated method
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-magosa committed Oct 12, 2014
1 parent 9215193 commit 3e580a9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/KM/Saffron/MatchedRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,4 @@ public function getTarget()
{
return $this->target;
}

/**
* @depreceated Use Executor directly
*/
public function execute()
{
$executor = new Executor();
$executor
->setController($this->target[0])
->setMethod($this->target[1])
->setParameters($this->getParams())
->fire();

return $executor->getController();
}
}

0 comments on commit 3e580a9

Please sign in to comment.