public function get($id)
    {
        foreach ($this->children as $child) {
            if ($id === $child->getId()) {
                return $child;
            }
        }
    }
public function get($id)
    {
        foreach ($this->children as $child) {
            if ($id === $child->getId()) {
                return $child;
            }
        }
    }
public function get ( $ id ) { foreach ( $ this -> children as $ child ) { if ( $ id === $ child -> getId ( ) ) { return $ child ; } } }
Returns the child section.

@param string $id The child section identifier

@return self|null The child section or null when none found
Returns the child section .