Pop\Pdf\Import::firstIndex PHP 메소드

firstIndex() 보호된 메소드

Method to return the first object index.
protected firstIndex ( array $arr ) : integer
$arr array
리턴 integer
    protected function firstIndex(array $arr)
    {
        $objs = array_keys($arr);
        rsort($objs);
        $first = null;
        foreach ($objs as $value) {
            $first = $value;
        }
        return $first;
    }