src/Mouf/MoufManager.php
public function getBoundComponents($instanceName) {
		// FIXME: not accounting for components bound in constructor
		// it is likely this method is not used anymore
		// TODO: check usage and remove.
		$binds = array();
		if (isset($this->declaredInstances[$instanceName]) && isset($this->declaredInstances[$instanceName]['fieldBinds'])) {
			$binds = $this->declaredInstances[$instanceName]['fieldBinds'];
		}
		if (isset($this->declaredInstances[$instanceName]) && isset($this->declaredInstances[$instanceName]['setterBinds'])) {
			foreach ($this->declaredInstances[$instanceName]['setterBinds'] as $setter=>$bind) {
				$binds[MoufPropertyDescriptor::getPropertyNameFromSetterName($setter)] = $bind;
			}
		}
		return $binds;
	}
public function getBoundComponents($instanceName) {
		// FIXME: not accounting for components bound in constructor
		// it is likely this method is not used anymore
		// TODO: check usage and remove.
		$binds = array();
		if (isset($this->declaredInstances[$instanceName]) && isset($this->declaredInstances[$instanceName]['fieldBinds'])) {
			$binds = $this->declaredInstances[$instanceName]['fieldBinds'];
		}
		if (isset($this->declaredInstances[$instanceName]) && isset($this->declaredInstances[$instanceName]['setterBinds'])) {
			foreach ($this->declaredInstances[$instanceName]['setterBinds'] as $setter=>$bind) {
				$binds[MoufPropertyDescriptor::getPropertyNameFromSetterName($setter)] = $bind;
			}
		}
		return $binds;
	}
public function getBoundComponents ( $ instanceName ) { // FIXME: not accounting for components bound in constructor
 // it is likely this method is not used anymore
 // TODO: check usage and remove.
 $ binds = array ( ) ; if ( isset ( $ this -> declaredInstances [ $ instanceName ] ) && isset ( $ this -> declaredInstances [ $ instanceName ] [ 'fieldBinds' ] ) ) { $ binds = $ this -> declaredInstances [ $ instanceName ] [ 'fieldBinds' ] ; } if ( isset ( $ this -> declaredInstances [ $ instanceName ] ) && isset ( $ this -> declaredInstances [ $ instanceName ] [ 'setterBinds' ] ) ) { foreach ( $ this -> declaredInstances [ $ instanceName ] [ 'setterBinds' ] as $ setter => $ bind ) { $ binds [ MoufPropertyDescriptor :: getPropertyNameFromSetterName ( $ setter ) ] = $ bind ; } } return $ binds ; }
Returns the list of all components bound to that component.

@param string $instanceName
@return array<string, comp(s)> where comp(s) is a string or an array<string> if there are many components for that property. The key of the array is the name of the property.
Returns the list of all components bound to that component .