Services/SiteManagementModel.php
public function getSiteSettings($site, $bypass = false){
		$timeStamp = time();
		$response = $this->getSite($site);

		if($response->error->exists){
			return $response;
		}

		$site = $response->result->set;

		$settings = $site->getSettings();

		if($bypass){
			return $settings;
		}

		return new ModelResponse($settings, 1, 0, null, false, 'S:D:002', 'Entries successfully fetched from database.', $timeStamp, time());

	}
public function getSiteSettings($site, $bypass = false){
		$timeStamp = time();
		$response = $this->getSite($site);

		if($response->error->exists){
			return $response;
		}

		$site = $response->result->set;

		$settings = $site->getSettings();

		if($bypass){
			return $settings;
		}

		return new ModelResponse($settings, 1, 0, null, false, 'S:D:002', 'Entries successfully fetched from database.', $timeStamp, time());

	}
@name 			getSiteSettings()

@since			1.0.0
@version         1.0.8
@author          Can Berkol

@use             $this->getSite()

@param           mixed           $site
@param           bool            $bypass

@return          \BiberLtd\Bundle\CoreBundle\Responses\ModelResponse