Location: PHPKode > scripts > Transparent PHP AOP > transparent-php-aop/tutorial/class.Test.php
<?php

class Test {
	var $message;

	function Test($m) {
		$this->setMessage($m);
	}

	function setMessage($m) {
		$this->message = $m;
	}

	function getMessage() {
		return $this->message;
	}
	
	function display() {
		echo $this->message;
	}
}

?>
Return current item: Transparent PHP AOP