public function setAttribute($attribute, $value)
    {
        switch ($attribute) {
            case 'isSlowOnly':
                // Set whether the connection must only log slow queries.
                // The slow threshold must be set on the profiler (100ms by default).
                $this->isSlowOnly = $value;
                break;
            default:
                parent::setAttribute($attribute, $value);
        }
    }
public function setAttribute($attribute, $value)
    {
        switch ($attribute) {
            case 'isSlowOnly':
                // Set whether the connection must only log slow queries.
                // The slow threshold must be set on the profiler (100ms by default).
                $this->isSlowOnly = $value;
                break;
            default:
                parent::setAttribute($attribute, $value);
        }
    }
public function setAttribute ( $ attribute , $ value ) { switch ( $ attribute ) { case 'isSlowOnly' : // Set whether the connection must only log slow queries. // The slow threshold must be set on the profiler (100ms by default). $ this -> isSlowOnly = $ value ; break ; default : parent :: setAttribute ( $ attribute , $ value ) ; } }
Overrides the parent setAttribute to support the isSlowOnly attribute.

@param string $attribute The attribute name, or the constant name containing the attribute name (e.g. 'PDO::ATTR_CASE')
@param mixed  $value
Overrides the parent setAttribute to support the isSlowOnly attribute .