Skip to content

Commit

Permalink
Remove accessors that are never used.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 30, 2016
1 parent f2beb2b commit 712b99d
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/Illuminate/Queue/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,25 +512,4 @@ public function setCache(CacheContract $cache)
{
$this->cache = $cache;
}

/**
* Get the queue manager instance.
*
* @return \Illuminate\Queue\QueueManager
*/
public function getManager()
{
return $this->manager;
}

/**
* Set the queue manager instance.
*
* @param \Illuminate\Queue\QueueManager $manager
* @return void
*/
public function setManager(QueueManager $manager)
{
$this->manager = $manager;
}
}

2 comments on commit 712b99d

@crlcu
Copy link
Contributor

@crlcu crlcu commented on 712b99d Mar 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to have these accessors back ?
They are not used from inside framework core, but they are used by other packages like barryvdh/laravel-async-queue - check this file

@fernandobandeira
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crlcu I've submitted a PR to add these acessors back, #18452

Please sign in to comment.