1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-17 19:37:13 +02:00

All setters provide a fluent interface now (i.e. return $this)

This commit is contained in:
David Grudl
2009-09-18 03:38:10 +02:00
parent 6d353c0b5d
commit 16f6d537e0
3 changed files with 10 additions and 5 deletions

View File

@@ -629,11 +629,12 @@ class DibiConnection extends DibiObject
/**
* @param IDibiProfiler
* @return void
* @return DibiConnection provides a fluent interface
*/
public function setProfiler(IDibiProfiler $profiler = NULL)
{
$this->profiler = $profiler;
return $this;
}