public function getAll()
    {
        $instances = array();
        $builder = new InstanceBuilder();

        foreach ($this->data as $className => $args) {
            if (class_exists($className)) {

                $instance = $builder->build($className, $args);
                array_push($instances, $instance);
            }
        }

        return $instances;
    }
public function getAll()
    {
        $instances = array();
        $builder = new InstanceBuilder();

        foreach ($this->data as $className => $args) {
            if (class_exists($className)) {

                $instance = $builder->build($className, $args);
                array_push($instances, $instance);
            }
        }

        return $instances;
    }
public function getAll ( ) { $ instances = array ( ) ; $ builder = new InstanceBuilder ( ) ; foreach ( $ this -> data as $ className => $ args ) { if ( class_exists ( $ className ) ) { $ instance = $ builder -> build ( $ className , $ args ) ; array_push ( $ instances , $ instance ) ; } } return $ instances ; }
Returns all instances that are available

@return array
Returns all instances that are available