public function setViews(array $views)
    {
        $this->views = array();

        foreach ($views as $view) {
            $this->addView($view);
        }
    }
public function setViews(array $views)
    {
        $this->views = array();

        foreach ($views as $view) {
            $this->addView($view);
        }
    }
public function setViews ( array $ views ) { $ this -> views = array ( ) ; foreach ( $ views as $ view ) { $ this -> addView ( $ view ) ; } }
Sets the schema views.

@param array $views The schema views.
Sets the schema views .