src/AbstractResponse.php
public function setContent(string $content): void {
		
		// there's two options here:  that the concatenation of $this->root_path
		// and $content is a file and we pass that to our view or that it isn't
		// and we pass the $content argument to the view directly assuming that
		// it's a string of content.
		
		$temp = $this->root_path . DIRECTORY_SEPARATOR . $content;
		$this->view->setContent(is_file($temp) ? $temp : $content);
	}
public function setContent(string $content): void {
		
		// there's two options here:  that the concatenation of $this->root_path
		// and $content is a file and we pass that to our view or that it isn't
		// and we pass the $content argument to the view directly assuming that
		// it's a string of content.
		
		$temp = $this->root_path . DIRECTORY_SEPARATOR . $content;
		$this->view->setContent(is_file($temp) ? $temp : $content);
	}
public function setContent ( string $ content ) : void { // there's two options here:  that the concatenation of $this->root_path // and $content is a file and we pass that to our view or that it isn't // and we pass the $content argument to the view directly assuming that // it's a string of content. $ temp = $ this -> root_path . DIRECTORY_SEPARATOR . $ content ; $ this -> view -> setContent ( is_file ( $ temp ) ? $ temp : $ content ) ; }
passes content to our view

@param string $content

@return void
passes content to our view