src/Mouf/Reflection/MoufReflectionMethod.php
public function isSetter() {
    	$methodName = $this->getName();
    	
    	   
    	if (strpos($methodName, "set") === 0 && strlen($methodName)>3) {
    		// A setter must have exactly one compulsory parameter
    		$parameters = $this->getParameters();
    		if (count($parameters) == 0) {
    			return false;
    		}
    		if (count($parameters)>1) {
    			for ($i=1, $count=count($parameters); $i<$count; $i++) {
    				$param = $parameters[$i];
    				if (!$param->isDefaultValueAvailable()) {
    					return false;
    				}
    			}
    		}
    		
    		return true;
    	}
    	return false;
    }
public function isSetter() {
    	$methodName = $this->getName();
    	
    	   
    	if (strpos($methodName, "set") === 0 && strlen($methodName)>3) {
    		// A setter must have exactly one compulsory parameter
    		$parameters = $this->getParameters();
    		if (count($parameters) == 0) {
    			return false;
    		}
    		if (count($parameters)>1) {
    			for ($i=1, $count=count($parameters); $i<$count; $i++) {
    				$param = $parameters[$i];
    				if (!$param->isDefaultValueAvailable()) {
    					return false;
    				}
    			}
    		}
    		
    		return true;
    	}
    	return false;
    }
public function isSetter ( ) { $ methodName = $ this -> getName ( ) ; if ( strpos ( $ methodName , "set" ) === 0 && strlen ( $ methodName ) > 3 ) { // A setter must have exactly one compulsory parameter
 $ parameters = $ this -> getParameters ( ) ; if ( count ( $ parameters ) == 0 ) { return false ; } if ( count ( $ parameters ) > 1 ) { for ( $ i = 1 , $ count = count ( $ parameters ) ; $ i < $ count ; $ i ++ ) { $ param = $ parameters [ $ i ] ; if ( ! $ param -> isDefaultValueAvailable ( ) ) { return false ; } } } return true ; } return false ; }
Returns true if this method has the signature of a setter.

@return boolean
Returns true if this method has the signature of a setter .