public function setWhiteList($paths) { $paths = is_array($paths) ? $paths : array($paths); $this->whiteList = $paths; return $this; }