public function setSite(\BackBee\Site\Site $site = null)
    {
        $this->_site = $site;

        return $this;
    }
public function setSite(\BackBee\Site\Site $site = null)
    {
        $this->_site = $site;

        return $this;
    }
public function setSite ( \ BackBee \ Site \ Site $ site = null ) { $ this -> _site = $ site ; return $ this ; }
Sets the optional site.

@param \BackBee\Site\Site $site

@return \BackBee\Security\Group
@codeCoverageIgnore
Sets the optional site .