lib/base/ClassManager.php
public function setClasses($classes, $override = true)
    {
        foreach ($classes as $key => $class) {
            if ($override || !isset($this->_classes[$key])) {
                $this->_classes[$key] = $class;
            }
        }
    }
public function setClasses($classes, $override = true)
    {
        foreach ($classes as $key => $class) {
            if ($override || !isset($this->_classes[$key])) {
                $this->_classes[$key] = $class;
            }
        }
    }
public function setClasses ( $ classes , $ override = true ) { foreach ( $ classes as $ key => $ class ) { if ( $ override || ! isset ( $ this -> _classes [ $ key ] ) ) { $ this -> _classes [ $ key ] = $ class ; } } }
Set classes.

@param [[@doctodo param_type:classes]] $classes  [[@doctodo param_description:classes]]
@param boolean                         $override [[@doctodo param_description:override]] [optional]
Set classes .