plugin/exo/Entity/ItemType/PairQuestion.php
public function getOddItem($uuid)
    {
        $found = null;
        foreach ($this->oddItems as $oddItem) {
            if ($oddItem->getItem()->getUuid() === $uuid) {
                $found = $oddItem;
                break;
            }
        }

        return $found;
    }
public function getOddItem($uuid)
    {
        $found = null;
        foreach ($this->oddItems as $oddItem) {
            if ($oddItem->getItem()->getUuid() === $uuid) {
                $found = $oddItem;
                break;
            }
        }

        return $found;
    }
public function getOddItem ( $ uuid ) { $ found = null ; foreach ( $ this -> oddItems as $ oddItem ) { if ( $ oddItem -> getItem ( ) -> getUuid ( ) === $ uuid ) { $ found = $ oddItem ; break ; } } return $ found ; }
Get an odd item by its uuid.

@param $uuid

@return GridOdd|null
Get an odd item by its uuid .