public function getSiteOfDomainAlias($alias){
		$timeStamp = time();
		if (!is_string($alias)) {
			return $this->createException('InvalidParameterValueException', 'Invalid parameter value. Parameter must be string.', 'E:S:004');
		}
		$result = $this->em->getRepository($this->entity['da']['name'])->findOneBy(array('domain' => $alias));

		if(is_null($result) || $result->getSite() == null){
			return new ModelResponse($result, 1, 0, null, true, 'E:D:002', 'Unable to find request entry in database.', $timeStamp, time());
		}
		$site = $result->getSite();
		return new ModelResponse($site, 1, 0, null, false, 'S:D:002', 'Entries successfully fetched from database.', $timeStamp, time());
	}
public function getSiteOfDomainAlias($alias){
		$timeStamp = time();
		if (!is_string($alias)) {
			return $this->createException('InvalidParameterValueException', 'Invalid parameter value. Parameter must be string.', 'E:S:004');
		}
		$result = $this->em->getRepository($this->entity['da']['name'])->findOneBy(array('domain' => $alias));

		if(is_null($result) || $result->getSite() == null){
			return new ModelResponse($result, 1, 0, null, true, 'E:D:002', 'Unable to find request entry in database.', $timeStamp, time());
		}
		$site = $result->getSite();
		return new ModelResponse($site, 1, 0, null, false, 'S:D:002', 'Entries successfully fetched from database.', $timeStamp, time());
	}
@name 			getSiteOfDomainAlias()

@since			1.1.2
@version         1.1.2
@author          Can Berkol

@use				$this->createException()

@param           string			$alias

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