public function refresh(bool $force = false, bool $cascade = false) : bool
    {
        if (($retval = parent::refresh($force, $cascade))===true && $cascade) {
            $this->getMediotecas($force);
            $this->getSites($force);
            $this->getCommerces($force);
            $this->getCatalogs($force);
            $this->getMessagings($force);
            $this->getProjects($force);
            $this->getRoles($force);
        }

        return $retval;
    }
public function refresh(bool $force = false, bool $cascade = false) : bool
    {
        if (($retval = parent::refresh($force, $cascade))===true && $cascade) {
            $this->getMediotecas($force);
            $this->getSites($force);
            $this->getCommerces($force);
            $this->getCatalogs($force);
            $this->getMessagings($force);
            $this->getProjects($force);
            $this->getRoles($force);
        }

        return $retval;
    }
public function refresh ( bool $ force = false , bool $ cascade = false ) : bool { if ( ( $ retval = parent :: refresh ( $ force , $ cascade ) ) === true && $ cascade ) { $ this -> getMediotecas ( $ force ) ; $ this -> getSites ( $ force ) ; $ this -> getCommerces ( $ force ) ; $ this -> getCatalogs ( $ force ) ; $ this -> getMessagings ( $ force ) ; $ this -> getProjects ( $ force ) ; $ this -> getRoles ( $ force ) ; } return $ retval ; }
Overrides refresh method to add Customer subentities to be refreshed.
@param bool $force Forces to reload entities from the database storage.
@param bool $cascade Forces to reload child entities from the database storage.
@return bool Returns true if transations are empty or refreshed.
Overrides refresh method to add Customer subentities to be refreshed .