public function startAll($message = 'Start', $context = [])
    {
        // Start this profile if not started
        if (!$this->isStarted()) {
            $this->start($message, $context);
        }

        // Start all child profiles afterwards
        foreach ($this->getProfiles() as $child) {
            $child->startAll($message, $context);
        }

        return $this;
    }
public function startAll($message = 'Start', $context = [])
    {
        // Start this profile if not started
        if (!$this->isStarted()) {
            $this->start($message, $context);
        }

        // Start all child profiles afterwards
        foreach ($this->getProfiles() as $child) {
            $child->startAll($message, $context);
        }

        return $this;
    }
public function startAll ( $ message = 'Start' , $ context = [ ] ) { // Start this profile if not started if ( ! $ this -> isStarted ( ) ) { $ this -> start ( $ message , $ context ) ; } // Start all child profiles afterwards foreach ( $ this -> getProfiles ( ) as $ child ) { $ child -> startAll ( $ message , $ context ) ; } return $ this ; }
Start this and all child profiles.

@param string $message [optional]
@param array  $context [optional]

@return $this
Start this and all child profiles .