public function getSelection($uuid)
    {
        foreach ($this->selections as $selection) {
            if ($selection->getUuid() === $uuid) {
                return $selection;
            }
        }
    }
public function getSelection($uuid)
    {
        foreach ($this->selections as $selection) {
            if ($selection->getUuid() === $uuid) {
                return $selection;
            }
        }
    }
public function getSelection ( $ uuid ) { foreach ( $ this -> selections as $ selection ) { if ( $ selection -> getUuid ( ) === $ uuid ) { return $ selection ; } } }
Retrieves a selection by its uuid.

@param $uuid

@return Selection
Retrieves a selection by its uuid .