src/DS/Traits/TraitSequence.php
public function findAll($value): ?array
    {
        $founded = array_keys($this->items->toArray(), $value, true);

        if (0 === count($founded)) {
            return null;
        }

        return $founded;
    }
public function findAll($value): ?array
    {
        $founded = array_keys($this->items->toArray(), $value, true);

        if (0 === count($founded)) {
            return null;
        }

        return $founded;
    }
public function findAll ( $ value ) : ? array { $ founded = array_keys ( $ this -> items -> toArray ( ) , $ value , true ) ; if ( 0 === count ( $ founded ) ) { return null ; } return $ founded ; }
Returns the all the index of a given value, or null if it could not be found.

@param mixed $value

@return mixed[]|null
Returns the all the index of a given value or null if it could not be found .