src/Mouf/Reflection/MoufReflectionClass.php
public function getInjectablePropertiesByConstructor() {
    	if ($this->injectablePropertiesByConstructor === null) {
	    	$moufProperties = array();
	    	$constructor = $this->getConstructor();
	    	if ($constructor != null) {
	    		foreach($constructor->getParameters() as $parameter) {
	    			$propertyDescriptor = new MoufPropertyDescriptor($parameter);
	    			$moufProperties[$propertyDescriptor->getName()] = $propertyDescriptor;
	    		}
	    	}
	    	$this->injectablePropertiesByConstructor = $moufProperties;
    	}
    	return $this->injectablePropertiesByConstructor;
    }
public function getInjectablePropertiesByConstructor() {
    	if ($this->injectablePropertiesByConstructor === null) {
	    	$moufProperties = array();
	    	$constructor = $this->getConstructor();
	    	if ($constructor != null) {
	    		foreach($constructor->getParameters() as $parameter) {
	    			$propertyDescriptor = new MoufPropertyDescriptor($parameter);
	    			$moufProperties[$propertyDescriptor->getName()] = $propertyDescriptor;
	    		}
	    	}
	    	$this->injectablePropertiesByConstructor = $moufProperties;
    	}
    	return $this->injectablePropertiesByConstructor;
    }
public function getInjectablePropertiesByConstructor ( ) { if ( $ this -> injectablePropertiesByConstructor === null ) { $ moufProperties = array ( ) ; $ constructor = $ this -> getConstructor ( ) ; if ( $ constructor != null ) { foreach ( $ constructor -> getParameters ( ) as $ parameter ) { $ propertyDescriptor = new MoufPropertyDescriptor ( $ parameter ) ; $ moufProperties [ $ propertyDescriptor -> getName ( ) ] = $ propertyDescriptor ; } } $ this -> injectablePropertiesByConstructor = $ moufProperties ; } return $ this -> injectablePropertiesByConstructor ; }
Returns the list of MoufPropertyDescriptor that can be injected via the constructor.

@return MoufPropertyDescriptor[] An associative array. The key is the name of the argument.
Returns the list of MoufPropertyDescriptor that can be injected via the constructor .