wa0x6e / Cake-Resque

Resque plugin for CakePHP : for creating background jobs that can be processed offline later
MIT License
159 stars 56 forks source link

Public static parameters. #44

Closed bar closed 10 years ago

bar commented 10 years ago

Is the main purpose of the public static parameters (like CakeResque::$resqueClass) [1] to be able to test mocking the classes?¿

[1] https://github.com/kamisama/Cake-Resque/blob/master/Lib/CakeResque.php#L38

wa0x6e commented 10 years ago

Yes

bar commented 10 years ago

Perfect, thanks.